diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-12 11:15:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-12 11:27:57 +0000 |
commit | 2fd534ab9079a5cfe0b03381ef789629f0bf149e (patch) | |
tree | c0661f9717ea9e9f75581c6071be9b3954d6c5c8 | |
parent | c1e25f9a173f98c82ce196b09022a8abdfbe9e53 (diff) |
coverity#1269594 Uncaught exception
and
coverity#1269588 Uncaught exception
Change-Id: I9e36c9636b7783530973272229dfb5bbfed556e5
-rw-r--r-- | include/canvas/base/graphicdevicebase.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/canvas/base/graphicdevicebase.hxx b/include/canvas/base/graphicdevicebase.hxx index 239ac4080856..b6f5036a8e83 100644 --- a/include/canvas/base/graphicdevicebase.hxx +++ b/include/canvas/base/graphicdevicebase.hxx @@ -159,14 +159,14 @@ namespace canvas return maDeviceHelper.getColorSpace(); } - virtual css::geometry::RealSize2D SAL_CALL getPhysicalResolution( ) throw (css::uno::RuntimeException) SAL_OVERRIDE + virtual css::geometry::RealSize2D SAL_CALL getPhysicalResolution() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { MutexType aGuard( BaseType::m_aMutex ); return maDeviceHelper.getPhysicalResolution(); } - virtual css::geometry::RealSize2D SAL_CALL getPhysicalSize( ) throw (css::uno::RuntimeException) SAL_OVERRIDE + virtual css::geometry::RealSize2D SAL_CALL getPhysicalSize() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { MutexType aGuard( BaseType::m_aMutex ); |