summaryrefslogtreecommitdiff
path: root/svtools/source/misc/embedhlp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc/embedhlp.cxx')
-rw-r--r--svtools/source/misc/embedhlp.cxx10
1 files changed, 5 insertions, 5 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();
}