diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-05-15 17:19:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-05-15 17:20:31 +0300 |
commit | 1a90cecb6ecfdcd2896106c8fd37ced5341e13f7 (patch) | |
tree | 766f3f2c9a55c91d809df13416c25773bf8ec68b /lotuswordpro/source | |
parent | d6bebd18b3b25af0024ec3ae5bde17836b0085e3 (diff) |
OUString::replaceAt() does not modify the OUString
Change-Id: Id5d712364c3c8a1e4305ad036d9f51c30c2f9e80
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/lwptblformula.cxx | 2 |
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 { |