diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-13 11:10:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-17 11:49:04 +0200 |
commit | 8548abbac5139569818516ca198c8086f4d1fd1f (patch) | |
tree | 5bc09f193859dd63fbf2e3e602ab3b6667904e8c /starmath/source/mathmlexport.cxx | |
parent | 909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 (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/source/mathmlexport.cxx')
-rw-r--r-- | starmath/source/mathmlexport.cxx | 2 |
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()); } |