summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-11-27 21:15:06 +0100
committerEike Rathke <erack@redhat.com>2014-11-28 02:04:22 +0100
commit3dd241c52d6db424bd4696ff8f223976542e411b (patch)
treec8334f65f6126a2f3b9106384c4acca42080de8b
parentc865da007a8d781801ef73612be27f129dd0989b (diff)
sensible indenting, fdo#81596 related
Change-Id: If7eb11a950b45793d04837d02f9546a93673fa2f
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index 870d8f2d6e80..cfdae59d251c 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -1744,15 +1744,12 @@ void FormulaCompiler::CreateStringFromTokenArray( OUStringBuffer& rBuffer )
if (pArr->NeedsPofRewrite( aConv))
pArr = pArr->RewriteMissing( false, aConv );
}
- else
+ else if ( FormulaGrammar::isOOXML( meGrammar ) )
{
// fdo#81596
- if ( FormulaGrammar::isOOXML( meGrammar ) )
- {
// Scan token array for missing args and rewrite if present.
if ( pArr->NeedsOOXMLRewrite() )
pArr = pArr->RewriteMissing( true, aConv );
- }
}
// At least one character per token, plus some are references, some are