From 8548abbac5139569818516ca198c8086f4d1fd1f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Dec 2013 11:10:10 +0200 Subject: Remove unnecessary use of OUString constructor in OUStringBuffer::append calls Convert code like aStrBuffer.append(OUString(" AS ")); to aStrBuffer.append(" AS "); Change-Id: I8c1884b5a875f40f0b5e511b6ef38c6c8eeee656 --- starmath/source/mathmlexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') 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()); } -- cgit