diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 08:16:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:32 +0200 |
commit | d366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch) | |
tree | 4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /formula | |
parent | remove unnecessary sal_Unicode casts in SVX module (diff) | |
download | core-d366c9b20ec86f3fe521812a0c22def3bfd1f05e.tar.gz core-d366c9b20ec86f3fe521812a0c22def3bfd1f05e.zip |
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index d0990423eb86..c42ee0609f67 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -1724,7 +1724,7 @@ void FormulaCompiler::CreateStringFromTokenArray( OUStringBuffer& rBuffer ) rBuffer.ensureCapacity( pArr->GetLen() * 5 ); if ( pArr->IsRecalcModeForced() ) - rBuffer.append( sal_Unicode('=')); + rBuffer.append( '='); FormulaToken* t = pArr->First(); while( t ) t = CreateStringFromToken( rBuffer, t, true ); @@ -1761,7 +1761,7 @@ FormulaToken* FormulaCompiler::CreateStringFromToken( OUStringBuffer& rBuffer, F bSpaces = ( !t || t->GetOpCode() != ocOpen ); } if( bSpaces ) - rBuffer.append( sal_Unicode(' ')); + rBuffer.append( ' '); if( eOp == ocSpaces ) { @@ -1784,7 +1784,7 @@ FormulaToken* FormulaCompiler::CreateStringFromToken( OUStringBuffer& rBuffer, F sal_uInt8 n = t->GetByte(); for ( sal_uInt8 j=0; j<n; ++j ) { - rBuffer.append( sal_Unicode(' ')); + rBuffer.append( ' '); } } } @@ -1864,7 +1864,7 @@ FormulaToken* FormulaCompiler::CreateStringFromToken( OUStringBuffer& rBuffer, F } } if( bSpaces ) - rBuffer.append( sal_Unicode(' ')); + rBuffer.append( ' '); if ( bAllowArrAdvance ) { if( bNext ) @@ -1901,7 +1901,7 @@ void FormulaCompiler::AppendBoolean( OUStringBuffer& rBuffer, bool bVal ) void FormulaCompiler::AppendString( OUStringBuffer& rBuffer, const OUString & rStr ) { - rBuffer.append( sal_Unicode('"')); + rBuffer.append( '"'); if ( lcl_UnicodeStrChr( rStr.getStr(), '"' ) == NULL ) rBuffer.append( rStr ); else @@ -1909,7 +1909,7 @@ void FormulaCompiler::AppendString( OUStringBuffer& rBuffer, const OUString & rS OUString aStr = rStr.replaceAll( "\"", "\"\"" ); rBuffer.append(aStr); } - rBuffer.append( sal_Unicode('"')); + rBuffer.append( '"'); } void FormulaCompiler::UpdateSeparatorsNative( |