editutil.cxx (b3f79822) | editutil.cxx (c2eaa082) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 66 unchanged lines hidden (view full) --- 75 aRet.AppendAscii( RTL_CONSTASCII_STRINGPARAM( pCalcDelimiters ) ); 76 aRet.Append(ScCompiler::GetNativeSymbol(ocSep)); // argument separator is localized. 77 return aRet; 78} 79 80static String lcl_GetDelimitedString( const EditEngine& rEngine, const sal_Char c ) 81{ 82 String aRet; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 66 unchanged lines hidden (view full) --- 75 aRet.AppendAscii( RTL_CONSTASCII_STRINGPARAM( pCalcDelimiters ) ); 76 aRet.Append(ScCompiler::GetNativeSymbol(ocSep)); // argument separator is localized. 77 return aRet; 78} 79 80static String lcl_GetDelimitedString( const EditEngine& rEngine, const sal_Char c ) 81{ 82 String aRet; |
83 sal_uInt16 nParCount = rEngine.GetParagraphCount(); 84 for (sal_uInt16 nPar=0; nPar<nParCount; nPar++) | 83 sal_uInt32 nParCount = rEngine.GetParagraphCount(); 84 for (sal_uInt32 nPar=0; nPar<nParCount; nPar++) |
85 { 86 if (nPar > 0) 87 aRet += c; 88 aRet += rEngine.GetText( nPar ); 89 } 90 return aRet; 91} 92 --- 682 unchanged lines hidden --- | 85 { 86 if (nPar > 0) 87 aRet += c; 88 aRet += rEngine.GetText( nPar ); 89 } 90 return aRet; 91} 92 --- 682 unchanged lines hidden --- |