diff options
author | Eike Rathke <erack@redhat.com> | 2014-10-24 23:42:08 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-10-30 19:05:35 +0100 |
commit | 34c725d3fdf95841df43910715f61db980783bca (patch) | |
tree | f80e55cde1cfcfa2d7f3846245f0bb117c128b6d /svl | |
parent | 0c0e3e7539f683548e93616a30af8ac90c9abad0 (diff) |
eliminate now unnecessary temporary OUString
Change-Id: I8461cb3f9a3c1cd662b1bcbfc53ee56a498a7b35
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index d28d5f62a683..fba025a8e1fc 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -1801,13 +1801,11 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat( const ::com::sun::star::i18n } } sal_Int32 nCheckPos = 0; - OUString sTempIn(aCodeStr); - SvNumberformat* pFormat = new SvNumberformat(sTempIn, + SvNumberformat* pFormat = new SvNumberformat(aCodeStr, pFormatScanner, pStringScanner, nCheckPos, ActLnge); - aCodeStr = sTempIn; if ( !pFormat || !(nCheckPos == 0) ) { if (LocaleDataWrapper::areChecksEnabled()) |