summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/gdimtf.cxx3
-rw-r--r--vcl/source/gdi/vectorgraphicdata.cxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index f0b9ce1fbbbb..0490b4ae63e2 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -436,8 +436,7 @@ bool GDIMetaFile::ImplPlayWithRenderer( OutputDevice* pOut, const Point& rPos, S
catch (const uno::Exception& e)
{
// ignore errors, no way of reporting them here
- SAL_WARN("vcl.gdi",
- "GDIMetaFile::ImplPlayWithRenderer: exception: " << e.Message);
+ SAL_WARN("vcl.gdi", "GDIMetaFile::ImplPlayWithRenderer: " << e);
}
return false;
diff --git a/vcl/source/gdi/vectorgraphicdata.cxx b/vcl/source/gdi/vectorgraphicdata.cxx
index 3bcb8fb7351a..d5d66f80c440 100644
--- a/vcl/source/gdi/vectorgraphicdata.cxx
+++ b/vcl/source/gdi/vectorgraphicdata.cxx
@@ -82,7 +82,7 @@ BitmapEx convertPrimitive2DSequenceToBitmapEx(
}
catch (const uno::Exception& e)
{
- SAL_WARN("vcl", "Got no graphic::XPrimitive2DRenderer! : " << e.Message);
+ SAL_WARN("vcl", "Got no graphic::XPrimitive2DRenderer! : " << e);
}
catch (const std::exception& e)
{