diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-03 19:04:15 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-03 19:06:15 +0100 |
commit | 9c06700874bc7fbbf6b663133954a0898957c075 (patch) | |
tree | 18bf2b3c11ba0ade7b13ea9bf6a498678c363a96 /basic | |
parent | Avoid unnecessary operations on an OUString (diff) | |
download | core-9c06700874bc7fbbf6b663133954a0898957c075.tar.gz core-9c06700874bc7fbbf6b663133954a0898957c075.zip |
fix build
Change-Id: I2588b69280abbc510ee2fdc9845df56616db8b95
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/basmgr/basicmanagerrepository.cxx | 2 | ||||
-rw-r--r-- | basic/source/uno/scriptcont.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx index 8b86596e5e2e..4f8fd9e766b3 100644 --- a/basic/source/basmgr/basicmanagerrepository.cxx +++ b/basic/source/basmgr/basicmanagerrepository.cxx @@ -310,7 +310,7 @@ namespace basic DBG_ASSERT(aAppBasic.GetProtocol() != INET_PROT_NOT_VALID, OString("Invalid URL: \"" + OUStringToOString(aAppBasicDir, osl_getThreadTextEncoding()) + - "\"")); + "\"").getStr()); aAppBasic.insertName( aFileName ); pBasicManager->SetStorageName( aAppBasic.PathToFileName() ); diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index a7f870c240ec..75b3828c91af 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -681,7 +681,7 @@ sal_Bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, OString aMessage = "invalid library element '" + OUStringToOString( aElementName, osl_getThreadTextEncoding() ) + "'."; - OSL_FAIL( aMessage ); + OSL_FAIL( aMessage.getStr()); #endif continue; } @@ -769,7 +769,7 @@ sal_Bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, OString aMessage = "invalid library element '" + OUStringToOString( aElementName, osl_getThreadTextEncoding() ) + "'."; - OSL_FAIL( aMessage ); + OSL_FAIL( aMessage.getStr()); #endif continue; } |