diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 11:42:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 08:36:07 +0200 |
commit | c4a593b6b1732def0a21f455c0ca50f82a9bc40d (patch) | |
tree | e3e1d986a9d36b2bf8488b592deb9ebfd3a03345 /framework/source/uiconfiguration/imagemanagerimpl.cxx | |
parent | 62f27a5e7bd7e66d11b8f6c9c047ecdd73199401 (diff) |
remove unnecessary use of OUString constructor in FRAMEWORK module
Change-Id: Icbed4f318043a166ed78fe0c49a53f87ebf7201d
Diffstat (limited to 'framework/source/uiconfiguration/imagemanagerimpl.cxx')
-rw-r--r-- | framework/source/uiconfiguration/imagemanagerimpl.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx index 2bf2029c3466..e03927610bb9 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.cxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx @@ -207,7 +207,7 @@ void CmdImageList::impl_fillCommandToImageNameMap() } // We have to map commands which uses special characters like '/',':','?','\','<'.'>','|' - OUString aExt = OUString(".png"); + OUString aExt = ".png"; m_aImageCommandNameVector.resize(aCmdImageSeq.getLength() ); m_aImageNameVector.resize( aCmdImageSeq.getLength() ); @@ -571,8 +571,7 @@ sal_Bool ImageManagerImpl::implts_storeUserImages( pList->pImageItemList->push_back( pItem ); } - pList->aURL = OUString("Bitmaps/"); - pList->aURL += OUString::createFromAscii(BITMAP_FILE_NAMES[nImageType]); + pList->aURL = "Bitmaps/" + OUString::createFromAscii(BITMAP_FILE_NAMES[nImageType]); uno::Reference< XTransactedObject > xTransaction; uno::Reference< XOutputStream > xOutputStream; |