summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lotuswordpro/source/filter/lwptblformula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx
index 0b69d05ac7e9..1787e751593e 100644
--- a/lotuswordpro/source/filter/lwptblformula.cxx
+++ b/lotuswordpro/source/filter/lwptblformula.cxx
@@ -606,7 +606,7 @@ OUString LwpFormulaFunc::ToString(LwpTableLayout* pCellsMap)
//erase the last "|"
if (!m_aArgs.empty())
{
- aFormula.replaceAt(aFormula.getLength()-1,1,"");
+ aFormula = aFormula.replaceAt(aFormula.getLength()-1,1,"");
}
else
{