diff options
author | nadith <nadmalinda@gmail.com> | 2016-07-29 11:47:40 +0530 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-04 05:53:34 +0000 |
commit | c85a3ac70d813eef9baa9a5592c0a2d724bb9038 (patch) | |
tree | dee914fb632f4d316bbe3978d34764b82ca73e4a /basic/source/uno/dlgcont.cxx | |
parent | 3c9d834af059bf3e9485ab9f0190733aa21dd9a6 (diff) |
tdf#100726: Improve readability of OUString concatenation
all most all of the places in the basic basctl modules this bug fixed
Change-Id: I1a4a03e207c1b520449c31a05265585120da07f6
Reviewed-on: https://gerrit.libreoffice.org/27662
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic/source/uno/dlgcont.cxx')
-rw-r--r-- | basic/source/uno/dlgcont.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx index 2a8684e494bb..ec6d3c6815d2 100644 --- a/basic/source/uno/dlgcont.cxx +++ b/basic/source/uno/dlgcont.cxx @@ -359,8 +359,7 @@ Reference< css::resource::XStringResourcePersistence > // get ui locale ::com::sun ::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale(); - OUString aComment(aResourceFileCommentBase); - aComment += aLibName; + OUString aComment= aResourceFileCommentBase + aLibName; bool bStorage = mxStorage.is(); if( bStorage ) @@ -531,8 +530,7 @@ void SfxDialogLibrary::storeResourcesAsURL void SfxDialogLibrary::storeResourcesToURL( const OUString& URL, const Reference< task::XInteractionHandler >& xHandler ) { - OUString aComment(aResourceFileCommentBase); - aComment += m_aName; + OUString aComment = aResourceFileCommentBase + m_aName; if( m_xStringResourcePersistence.is() ) { @@ -543,8 +541,7 @@ void SfxDialogLibrary::storeResourcesToURL( const OUString& URL, void SfxDialogLibrary::storeResourcesToStorage( const css::uno::Reference< css::embed::XStorage >& xStorage ) { - OUString aComment(aResourceFileCommentBase); - aComment += m_aName; + OUString aComment = aResourceFileCommentBase + m_aName; if( m_xStringResourcePersistence.is() ) { |