diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-13 10:54:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-17 11:49:04 +0200 |
commit | 909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 (patch) | |
tree | 2d17bbce7f9fa40fca140696648ec136a12f63d1 /svl | |
parent | 08fe82e59cbc598d2683d72877653316c1e41962 (diff) |
remove unnecessary double calls to OUString constructor
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 4517ef765188..edb013775d3a 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -1807,10 +1807,10 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat( const ::com::sun::star::i18n if (LocaleDataWrapper::areChecksEnabled() && rCode.Index != NF_CURRENCY_1000DEC2_CCC ) { - OUString aMsg(OUString("SvNumberFormatter::ImpInsertFormat: no [$...] on currency format code, index ") + - OUString::number( rCode.Index) + - OUString(":\n") + - rCode.Code); + OUString aMsg = "SvNumberFormatter::ImpInsertFormat: no [$...] on currency format code, index " + + OUString::number( rCode.Index) + + ":\n" + + rCode.Code; LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo( aMsg)); } } @@ -1827,10 +1827,10 @@ SvNumberformat* SvNumberFormatter::ImpInsertFormat( const ::com::sun::star::i18n { if (LocaleDataWrapper::areChecksEnabled()) { - OUString aMsg( OUString("SvNumberFormatter::ImpInsertFormat: bad format code, index " ) + - OUString::number( rCode.Index ) + - OUString("\n") + - rCode.Code); + OUString aMsg = "SvNumberFormatter::ImpInsertFormat: bad format code, index " + + OUString::number( rCode.Index ) + + "\n" + + rCode.Code; LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo( aMsg)); } delete pFormat; |