summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwptblformula.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwptblformula.cxx')
-rw-r--r--lotuswordpro/source/filter/lwptblformula.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx
index fa8f39fa0bb4..f79bcaab6bcb 100644
--- a/lotuswordpro/source/filter/lwptblformula.cxx
+++ b/lotuswordpro/source/filter/lwptblformula.cxx
@@ -461,9 +461,8 @@ OUString LwpFormulaOp::ToString(LwpTableLayout* pCellsMap)
aFormula += m_aArgs[1]->ToArgString(pCellsMap) + " ";
OUString aFuncName = LwpFormulaTools::GetName(m_nTokenType);
- aFormula += aFuncName + " ";
-
- aFormula += m_aArgs[0]->ToArgString(pCellsMap);
+ aFormula += aFuncName + " " +
+ m_aArgs[0]->ToArgString(pCellsMap);
}
else
{
@@ -481,8 +480,8 @@ OUString LwpFormulaUnaryOp::ToString(LwpTableLayout* pCellsMap)
if (1==m_aArgs.size())
{
OUString aFuncName = LwpFormulaTools::GetName(m_nTokenType);
- aFormula += aFuncName;
- aFormula += m_aArgs[0]->ToArgString(pCellsMap);
+ aFormula += aFuncName +
+ m_aArgs[0]->ToArgString(pCellsMap);
}
else
{