diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-07-16 15:31:40 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-07-16 15:41:41 +0200 |
commit | 784a34bf20ecf2566fd4db9f81b3a6bf9d2b7033 (patch) | |
tree | 851553696eedf4bb2dd4e0a1b2651ec850e8ce39 /starmath | |
parent | c17c8cc029dc6c104e16627646389d09eb1e6119 (diff) |
fix problem caused by confusing immutability OUString semantics again
Change-Id: I9207ec3309b9970afd5c56718829836eead4592b
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathtype.cxx | 2 |
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); |