summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-07-16 15:31:40 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-07-16 15:41:41 +0200
commit784a34bf20ecf2566fd4db9f81b3a6bf9d2b7033 (patch)
tree851553696eedf4bb2dd4e0a1b2651ec850e8ce39 /starmath
parentc17c8cc029dc6c104e16627646389d09eb1e6119 (diff)
fix problem caused by confusing immutability OUString semantics again
Change-Id: I9207ec3309b9970afd5c56718829836eead4592b
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 987568458656..94310dbfa16b 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -2909,7 +2909,7 @@ int MathType::HandleChar(sal_Int32 &rTextStart,int &rSetSize,int nLevel,
OUString aStr;
TypeFaceToString(aStr,nOldTypeFace);
aStr += "\"";
- rRet.replaceAt(rTextStart,0,aStr);
+ rRet = rRet.replaceAt(rTextStart,0,aStr);
aStr = OUString();
TypeFaceToString(aStr,nTypeFace);