summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/core/stlsheet.cxx2
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx12
-rw-r--r--sd/source/helper/simplereferencecomponent.cxx2
-rw-r--r--sd/source/ui/tools/ConfigurationAccess.cxx2
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx2
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx2
-rw-r--r--sd/source/ui/view/drviewsa.cxx2
7 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 14c36e4a845f..03cfc50aee50 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -678,7 +678,7 @@ void SAL_CALL SdStyleSheet::release( ) throw ()
}
catch (RuntimeException const& exc)
{ // don't break throw ()
- SAL_WARN( "sd", exc.Message );
+ SAL_WARN( "sd", exc );
}
OSL_ASSERT( mrBHelper.bDisposed );
SdStyleSheetBase::release();
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index b9222c679ffa..405ad7595ce6 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -244,7 +244,7 @@ ErrCode ReadThroughComponent(
if( bEncrypted )
return ERRCODE_SFX_WRONGPASSWORD;
- SAL_WARN( "sd.filter", "SAX parse exception caught while importing:" << r.Message);
+ SAL_WARN( "sd.filter", "SAX parse exception caught while importing:" << r);
OUString sErr( OUString::number( r.LineNumber ));
sErr += ",";
@@ -274,22 +274,22 @@ ErrCode ReadThroughComponent(
if( bEncrypted )
return ERRCODE_SFX_WRONGPASSWORD;
- SAL_WARN( "sd.filter", "SAX exception caught while importing:" << r.Message);
+ SAL_WARN( "sd.filter", "SAX exception caught while importing:" << r);
return SD_XML_READERROR;
}
catch (const packages::zip::ZipIOException& r)
{
- SAL_WARN( "sd.filter", "Zip exception caught while importing:" << r.Message);
+ SAL_WARN( "sd.filter", "Zip exception caught while importing:" << r);
return ERRCODE_IO_BROKENPACKAGE;
}
catch (const io::IOException& r)
{
- SAL_WARN( "sd.filter", "IO exception caught while importing:" << r.Message);
+ SAL_WARN( "sd.filter", "IO exception caught while importing:" << r);
return SD_XML_READERROR;
}
catch (const uno::Exception& r)
{
- SAL_WARN( "sd.filter", "uno exception caught while importing:" << r.Message);
+ SAL_WARN( "sd.filter", "uno exception caught while importing:" << r);
return SD_XML_READERROR;
}
@@ -990,7 +990,7 @@ bool SdXMLFilter::Export()
}
catch (const uno::Exception &e)
{
- SAL_WARN( "sd.filter", "uno Exception caught while exporting:" << e.Message);
+ SAL_WARN( "sd.filter", "uno Exception caught while exporting:" << e);
bDocRet = false;
}
if ( !bLocked )
diff --git a/sd/source/helper/simplereferencecomponent.cxx b/sd/source/helper/simplereferencecomponent.cxx
index 4d0234743e83..b2f55ad3832a 100644
--- a/sd/source/helper/simplereferencecomponent.cxx
+++ b/sd/source/helper/simplereferencecomponent.cxx
@@ -54,7 +54,7 @@ void SimpleReferenceComponent::release()
}
catch (RuntimeException & exc ) // don't break throw ()
{
- SAL_WARN( "sd", exc.Message );
+ SAL_WARN( "sd", exc );
}
}
diff --git a/sd/source/ui/tools/ConfigurationAccess.cxx b/sd/source/ui/tools/ConfigurationAccess.cxx
index 2b9285c6ebc2..d06dd5929f6a 100644
--- a/sd/source/ui/tools/ConfigurationAccess.cxx
+++ b/sd/source/ui/tools/ConfigurationAccess.cxx
@@ -106,7 +106,7 @@ Any ConfigurationAccess::GetConfigurationNode (
}
catch (const Exception& rException)
{
- SAL_WARN("sd", "caught exception while getting configuration node" << sPathToNode << ": " << rException.Message);
+ SAL_WARN("sd", "caught exception while getting configuration node" << sPathToNode << ": " << rException);
}
return Any();
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index ba6b31ebe8b5..c64647442829 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -424,7 +424,7 @@ void DrawController::FireSwitchCurrentPage (SdPage* pNewCurrentPage) throw()
}
catch (const uno::Exception& e)
{
- SAL_WARN("sd", "sd::SdUnoDrawView::FireSwitchCurrentPage(), exception caught: " << e.Message);
+ SAL_WARN("sd", "sd::SdUnoDrawView::FireSwitchCurrentPage(), exception caught: " << e);
}
}
}
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 90d75e5871f3..52ecca7729da 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -322,7 +322,7 @@ void SAL_CALL SdXImpressDocument::release() throw ( )
}
catch (const uno::RuntimeException& exc)
{ // don't break throw ()
- SAL_WARN( "sd", exc.Message );
+ SAL_WARN( "sd", exc );
}
}
SfxBaseModel::release();
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index 06ae7dae72b1..0fedb24f1b56 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -330,7 +330,7 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind)
{
// Eat the exception and log it
// We can still continue if scanner manager is not available.
- SAL_WARN("sd", "Scanner manager exception: " << exception.Message);
+ SAL_WARN("sd", "Scanner manager exception: " << exception);
}
mpAnnotationManager.reset( new AnnotationManager( GetViewShellBase() ) );