diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-09-15 22:42:43 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-09-16 22:04:45 +0000 |
commit | 65e8e4c62afc1203f61fa8f0595b216ed0bbab3c (patch) | |
tree | dcdda03fc344cb55458d410a879e46a454404a90 | |
parent | a3abd12f1f20fed25f7719d613a8e287ec1e5e06 (diff) |
Remove two temporary variables
Change-Id: Iaff9cea6038be51fdc7468bef4cd254af475a9d3
Reviewed-on: https://gerrit.libreoffice.org/5966
Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
Tested-by: Matteo Casalin <matteo.casalin@yahoo.com>
-rw-r--r-- | sw/source/filter/ww8/writerwordglue.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx index 323ac36429f3..4bc0182958c8 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; } |