summaryrefslogtreecommitdiff
path: root/basic/source/uno/namecont.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:20:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:23 +0100
commit39ddeb53c04f7a8410a5146e2ce7b4acf204ad2b (patch)
treebaa06f2e6f9ebabee235b7673a19e415cec5e4b1 /basic/source/uno/namecont.cxx
parentd9e2c2704466caaef52bdabf2689220ce6fa1cf7 (diff)
basic: Use appropriate OUString functions on string constants
Change-Id: I43f99ba6759b0f8f633af784beaec583dbab0b9e
Diffstat (limited to 'basic/source/uno/namecont.cxx')
-rw-r--r--basic/source/uno/namecont.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index f9a5fd50bd1f..20d2dfbff1c7 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -1852,7 +1852,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
if ( bInplaceStorage )
{
// create a temporary target storage
- const OUStringBuffer aTempTargetNameBase = maLibrariesDir + OUString( "_temp_" );
+ const OUStringBuffer aTempTargetNameBase = maLibrariesDir + "_temp_";
sal_Int32 index = 0;
do
{
@@ -2070,7 +2070,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
xTargetLibrariesStor->dispose();
i_rStorage->removeElement( sTempTargetStorName );
xTargetLibrariesStor.clear();
- sTempTargetStorName = "";
+ sTempTargetStorName.clear();
// adjust target
xTargetLibrariesStor = xSourceLibrariesStor;