From 784a34bf20ecf2566fd4db9f81b3a6bf9d2b7033 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 16 Jul 2013 15:31:40 +0200 Subject: fix problem caused by confusing immutability OUString semantics again Change-Id: I9207ec3309b9970afd5c56718829836eead4592b --- starmath/source/mathtype.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit