summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-01-03 19:04:15 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-03 19:06:15 +0100
commit9c06700874bc7fbbf6b663133954a0898957c075 (patch)
tree18bf2b3c11ba0ade7b13ea9bf6a498678c363a96 /basic
parentca8281721366b190be186b0649ce48eb1d61854d (diff)
fix build
Change-Id: I2588b69280abbc510ee2fdc9845df56616db8b95
Diffstat (limited to 'basic')
-rw-r--r--basic/source/basmgr/basicmanagerrepository.cxx2
-rw-r--r--basic/source/uno/scriptcont.cxx4
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;
}