diff options
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/mathtype.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 9273a4498b61..a3199c06c686 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -683,8 +683,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector, { OUString aStr; TypeFaceToString(aStr,nTypeFace); - aStr += "\""; - rRet.insert(nTextStart,aStr); + rRet.insert(nTextStart, aStr + "\""); rRet.append("\""); } else if (nRecord == END && !rRet.isEmpty()) @@ -2895,8 +2894,7 @@ bool MathType::HandleChar(sal_Int32 &rTextStart, int &rSetSize, int nLevel, { OUString aStr; TypeFaceToString(aStr,nOldTypeFace); - aStr += "\""; - rRet.insert(std::min(rTextStart, rRet.getLength()), aStr); + rRet.insert(std::min(rTextStart, rRet.getLength()), aStr + "\""); aStr.clear(); TypeFaceToString(aStr,nTypeFace); @@ -2921,8 +2919,7 @@ bool MathType::HandleChar(sal_Int32 &rTextStart, int &rSetSize, int nLevel, rRet.insert(nOldLen, "\""); OUString aStr; TypeFaceToString(aStr,nOldTypeFace); - aStr += "\""; - rRet.insert(rTextStart,aStr); + rRet.insert(rTextStart, aStr + "\""); } rTextStart = rRet.getLength(); } @@ -2934,8 +2931,7 @@ bool MathType::HandleChar(sal_Int32 &rTextStart, int &rSetSize, int nLevel, rRet.insert(nOldLen, "\""); OUString aStr; TypeFaceToString(aStr,nOldTypeFace); - aStr += "\""; - rRet.insert(rTextStart, aStr); + rRet.insert(rTextStart, aStr + "\""); } rTextStart = rRet.getLength(); } |