From 1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 30 Jan 2016 19:09:35 +0200 Subject: unnecessary use of OUString constructor Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/draw/xexptran.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/draw') diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx index 3f64864c3be4..82c2fa84fff6 100644 --- a/xmloff/source/draw/xexptran.cxx +++ b/xmloff/source/draw/xexptran.cxx @@ -145,7 +145,7 @@ void Imp_PutDoubleChar(OUString& rStr, double fValue) { OUStringBuffer sStringBuffer; ::sax::Converter::convertDouble(sStringBuffer, fValue); - rStr += OUString(sStringBuffer.makeStringAndClear()); + rStr += sStringBuffer.makeStringAndClear(); } void Imp_PutDoubleChar(OUString& rStr, const SvXMLUnitConverter& rConv, double fValue, @@ -160,7 +160,7 @@ void Imp_PutDoubleChar(OUString& rStr, const SvXMLUnitConverter& rConv, double f ::sax::Converter::convertDouble(sStringBuffer, fValue); } - rStr += OUString(sStringBuffer.makeStringAndClear()); + rStr += sStringBuffer.makeStringAndClear(); } // base class of all 2D transform objects -- cgit