summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-07 09:48:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-07 18:36:58 +0100
commite5c6d5ad35faa160bbd3daa593aac0782cd9f1ba (patch)
tree176f11889c6b2f800e51e1134747ccefa66de35b /vcl
parent5991304ede33b112b7700b2b9f0e18f6c523a0e8 (diff)
extend catch all here for std::exception derived exceptions too
Change-Id: I6b8715b24792f8bbd4434c1bec584b67f8bcc0c5
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/svgdata.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/source/gdi/svgdata.cxx b/vcl/source/gdi/svgdata.cxx
index 27abb60d9a60..d15e56aa494a 100644
--- a/vcl/source/gdi/svgdata.cxx
+++ b/vcl/source/gdi/svgdata.cxx
@@ -79,9 +79,13 @@ BitmapEx convertPrimitive2DSequenceToBitmapEx(
}
}
}
- catch(const uno::Exception& e)
+ catch (const uno::Exception& e)
{
- SAL_WARN( "vcl", "Got no graphic::XPrimitive2DRenderer! : " << e.Message);
+ SAL_WARN("vcl", "Got no graphic::XPrimitive2DRenderer! : " << e.Message);
+ }
+ catch (const std::exception& e)
+ {
+ SAL_WARN("vcl", "Got no graphic::XPrimitive2DRenderer! : " << e.what());
}
}