diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:58 +0200 |
commit | 02d0f134f300b0f739f09aa2743ed904cfa6666e (patch) | |
tree | 68f8894819e32cb09665351e4824254c5029316c /svl/source/numbers/numfmuno.cxx | |
parent | 74dfe42baf962818a3933b1d8fb6184f6210dae1 (diff) |
loplugin:stringcopy: svl
Change-Id: I47a0e13c5affa220646c59ec0bddb342f858fe53
Diffstat (limited to 'svl/source/numbers/numfmuno.cxx')
-rw-r--r-- | svl/source/numbers/numfmuno.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx index bc0bf3a59e95..ee05e50a581f 100644 --- a/svl/source/numbers/numfmuno.cxx +++ b/svl/source/numbers/numfmuno.cxx @@ -677,7 +677,7 @@ uno::Any SAL_CALL SvNumberFormatObj::getPropertyValue( const OUString& aProperty if (aPropertyName == PROPERTYNAME_FMTSTR) { - aRet <<= OUString( pFormat->GetFormatstring() ); + aRet <<= pFormat->GetFormatstring(); } else if (aPropertyName == PROPERTYNAME_LOCALE) { @@ -690,7 +690,7 @@ uno::Any SAL_CALL SvNumberFormatObj::getPropertyValue( const OUString& aProperty } else if (aPropertyName == PROPERTYNAME_COMMENT) { - aRet <<= OUString( pFormat->GetComment() ); + aRet <<= pFormat->GetComment(); } else if (aPropertyName == PROPERTYNAME_STDFORM) { @@ -741,7 +741,7 @@ uno::Any SAL_CALL SvNumberFormatObj::getPropertyValue( const OUString& aProperty const NfCurrencyEntry* pCurr = SvNumberFormatter::GetCurrencyEntry( bBank, aSymbol, aExt, pFormat->GetLanguage() ); if ( pCurr ) - aRet <<= OUString( pCurr->GetBankSymbol() ); + aRet <<= pCurr->GetBankSymbol(); else aRet <<= OUString(); } |