Kaydet (Commit) 65e8e4c6 authored tarafından Matteo Casalin's avatar Matteo Casalin

Remove two temporary variables

Change-Id: Iaff9cea6038be51fdc7468bef4cd254af475a9d3
Reviewed-on: https://gerrit.libreoffice.org/5966Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
Tested-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst a3abd12f
...@@ -755,9 +755,7 @@ namespace sw ...@@ -755,9 +755,7 @@ namespace sw
short nType = NUMBERFORMAT_DEFINED; short nType = NUMBERFORMAT_DEFINED;
sal_uInt32 nKey = 0; sal_uInt32 nKey = 0;
OUString sParams(rParams); SwapQuotesInField(rParams);
SwapQuotesInField(sParams);
rParams = sParams;
// Force to Japanese when finding one of 'geaE' // Force to Japanese when finding one of 'geaE'
bool bForceJapanese = (-1 != rParams.indexOf('g') bool bForceJapanese = (-1 != rParams.indexOf('g')
...@@ -966,9 +964,7 @@ namespace sw ...@@ -966,9 +964,7 @@ namespace sw
if (bHijri) if (bHijri)
rParams = "[~hijri]" + rParams; rParams = "[~hijri]" + rParams;
OUString sTemp(rParams); pFormatter->PutEntry(rParams, nCheckPos, nType, nKey, rLang);
pFormatter->PutEntry(sTemp, nCheckPos, nType, nKey, rLang);
rParams = sTemp;
return nKey; return nKey;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment