diff options
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 4 | ||||
-rw-r--r-- | formula/source/core/api/token.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 7319c34b0964..9a933c10b928 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -1752,7 +1752,7 @@ void FormulaCompiler::CreateStringFromTokenArray( OUStringBuffer& rBuffer ) { // Scan token array for missing args and rewrite if present. MissingConventionOOXML aConv; - if (pArr->NeedsOoxmlRewrite( aConv)) + if (pArr->NeedsOoxmlRewrite()) pArr = pArr->RewriteMissing( aConv ); } @@ -1979,7 +1979,7 @@ void FormulaCompiler::AppendBoolean( OUStringBuffer& rBuffer, bool bVal ) const rBuffer.append( mxSymbols->getSymbol( static_cast<OpCode>(bVal ? ocTrue : ocFalse)) ); } -void FormulaCompiler::AppendString( OUStringBuffer& rBuffer, const OUString & rStr ) const +void FormulaCompiler::AppendString( OUStringBuffer& rBuffer, const OUString & rStr ) { rBuffer.append( '"'); if ( lcl_UnicodeStrChr( rStr.getStr(), '"' ) == NULL ) diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index a33ce70d4e25..c054db217d20 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -1037,7 +1037,7 @@ To be implemented yet: ocMacro: ? ocIndex: INDEX() ? */ -inline bool MissingConventionOOXML::isRewriteNeeded( OpCode eOp ) const +inline bool MissingConventionOOXML::isRewriteNeeded( OpCode eOp ) { switch (eOp) { @@ -1332,11 +1332,11 @@ bool FormulaTokenArray::NeedsPodfRewrite( const MissingConventionODF & rConv ) return false; } -bool FormulaTokenArray::NeedsOoxmlRewrite( const MissingConventionOOXML & rConv ) +bool FormulaTokenArray::NeedsOoxmlRewrite() { for ( FormulaToken *pCur = First(); pCur; pCur = Next() ) { - if ( rConv.isRewriteNeeded( pCur->GetOpCode())) + if ( MissingConventionOOXML::isRewriteNeeded( pCur->GetOpCode())) return true; } return false; |