summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-13 11:10:10 +0200
committerNoel Grandin <noel@peralex.com>2013-12-17 11:49:04 +0200
commit8548abbac5139569818516ca198c8086f4d1fd1f (patch)
tree5bc09f193859dd63fbf2e3e602ab3b6667904e8c /starmath
parent909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 (diff)
Remove unnecessary use of OUString constructor in OUStringBuffer::append calls
Convert code like aStrBuffer.append(OUString(" AS ")); to aStrBuffer.append(" AS "); Change-Id: I8c1884b5a875f40f0b5e511b6ef38c6c8eeee656
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 6531d8d84ad3..7fb713d4f589 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -993,7 +993,7 @@ void SmXMLExport::ExportBlank(const SmNode *pNode, int /*nLevel*/)
// (see SmBlankNode::IncreaseBy for how pTemp->nNum is set).
OUStringBuffer sStrBuf;
::sax::Converter::convertDouble(sStrBuf, pTemp->GetBlankNum() * .5);
- sStrBuf.append(OUString("em"));
+ sStrBuf.append("em");
AddAttribute(XML_NAMESPACE_MATH, XML_WIDTH, sStrBuf.getStr());
}