summaryrefslogtreecommitdiff
path: root/basic/source/uno/namecont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/uno/namecont.cxx')
-rw-r--r--basic/source/uno/namecont.cxx20
1 files changed, 6 insertions, 14 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 95a05bca652c..3f5840b51b06 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -908,12 +908,9 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
catch(const uno::Exception& )
{
#if OSL_DEBUG_LEVEL > 0
- Any aError( ::cppu::getCaughtException() );
- SAL_WARN(
+ TOOLS_WARN_EXCEPTION(
"basic",
- "couldn't open sub storage for library \""
- << rLib.aName << "\". Exception: "
- << exceptionToString(aError));
+ "couldn't open sub storage for library \"" << rLib.aName << "\"");
#endif
}
}
@@ -1938,12 +1935,9 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
}
catch(const uno::Exception& )
{
- Any aError( ::cppu::getCaughtException() );
- SAL_WARN(
+ TOOLS_WARN_EXCEPTION(
"basic",
- "couldn't create sub storage for library \""
- << rLib.aName << "\". Exception: "
- << exceptionToString(aError));
+ "couldn't create sub storage for library \"" << rLib.aName << "\"");
throw;
}
#endif
@@ -2349,11 +2343,9 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name )
}
catch(const uno::Exception& )
{
- Any aError( ::cppu::getCaughtException() );
- SAL_WARN(
+ TOOLS_WARN_EXCEPTION(
"basic",
- "couldn't open sub storage for library \"" << Name
- << "\". Exception: " << exceptionToString(aError));
+ "couldn't open sub storage for library \"" << Name << "\"");
throw;
}
#endif