sw/source/filter/ww8/writerwordglue.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
New commits: commit 65e8e4c62afc1203f61fa8f0595b216ed0bbab3c Author: Matteo Casalin <matteo.casa...@yahoo.com> Date: Sun Sep 15 22:42:43 2013 +0200 Remove two temporary variables Change-Id: Iaff9cea6038be51fdc7468bef4cd254af475a9d3 Reviewed-on: https://gerrit.libreoffice.org/5966 Reviewed-by: Matteo Casalin <matteo.casa...@yahoo.com> Tested-by: Matteo Casalin <matteo.casa...@yahoo.com> diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx index 323ac36..4bc0182 100644 --- a/sw/source/filter/ww8/writerwordglue.cxx +++ b/sw/source/filter/ww8/writerwordglue.cxx @@ -755,9 +755,7 @@ namespace sw short nType = NUMBERFORMAT_DEFINED; sal_uInt32 nKey = 0; - OUString sParams(rParams); - SwapQuotesInField(sParams); - rParams = sParams; + SwapQuotesInField(rParams); // Force to Japanese when finding one of 'geaE' bool bForceJapanese = (-1 != rParams.indexOf('g') @@ -966,9 +964,7 @@ namespace sw if (bHijri) rParams = "[~hijri]" + rParams; - OUString sTemp(rParams); - pFormatter->PutEntry(sTemp, nCheckPos, nType, nKey, rLang); - rParams = sTemp; + pFormatter->PutEntry(rParams, nCheckPos, nType, nKey, rLang); return nKey; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits