From e5c6d5ad35faa160bbd3daa593aac0782cd9f1ba Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Fri, 7 Apr 2017 09:48:00 +0100
Subject: extend catch all here for std::exception derived exceptions too

Change-Id: I6b8715b24792f8bbd4434c1bec584b67f8bcc0c5
---
 vcl/source/gdi/svgdata.cxx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'vcl')

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());
         }
     }
 
-- 
cgit