diff options
Diffstat (limited to 'svtools/source/misc')
-rw-r--r-- | svtools/source/misc/embedhlp.cxx | 10 | ||||
-rw-r--r-- | svtools/source/misc/imagemgr.cxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index 68691df709d7..636e5458500c 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -342,7 +342,7 @@ void EmbeddedObjectRef::Clear() } catch (const uno::Exception& e) { - SAL_WARN("svtools.misc", "Error on switching of the object to loaded state and closing: \"" << e.Message << "\""); + SAL_WARN("svtools.misc", "Error on switching of the object to loaded state and closing: \"" << e << "\""); } } } @@ -442,7 +442,7 @@ const Graphic* EmbeddedObjectRef::GetGraphic() const } catch( const uno::Exception& ex ) { - SAL_WARN("svtools.misc", "Something went wrong on getting the graphic: " << ex.Message); + SAL_WARN("svtools.misc", "Something went wrong on getting the graphic: " << ex); } return mpImpl->pGraphic.get(); @@ -479,7 +479,7 @@ Size EmbeddedObjectRef::GetSize( MapMode const * pTargetMapMode ) const } catch (const uno::Exception& e) { - SAL_WARN("svtools.misc", "Something went wrong on getting of the size of the object: \"" << e.Message << "\""); + SAL_WARN("svtools.misc", "Something went wrong on getting of the size of the object: \"" << e << "\""); } try @@ -488,7 +488,7 @@ Size EmbeddedObjectRef::GetSize( MapMode const * pTargetMapMode ) const } catch (const uno::Exception& e) { - SAL_WARN("svtools.misc", "Can not get the map mode: \"" << e.Message << "\""); + SAL_WARN("svtools.misc", "Can not get the map mode: \"" << e << "\""); } } @@ -575,7 +575,7 @@ SvStream* EmbeddedObjectRef::GetGraphicStream( bool bUpdate ) const } catch (const uno::Exception& ex) { - SAL_WARN("svtools.misc", "discarding broken embedded object preview: " << ex.Message); + SAL_WARN("svtools.misc", "discarding broken embedded object preview: " << ex); delete pStream; xStream.clear(); } diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx index 26af30e533b5..d3bffc243761 100644 --- a/svtools/source/misc/imagemgr.cxx +++ b/svtools/source/misc/imagemgr.cxx @@ -394,7 +394,7 @@ static SvImageId GetImageId_Impl( const INetURLObject& rObject, bool bDetectFold } catch (const css::ucb::ContentCreationException& e) { - SAL_WARN("svtools.misc", "GetImageId_Impl: Caught exception: " << e.Message); + SAL_WARN("svtools.misc", "GetImageId_Impl: Caught " << e); } return nId; |