diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-12 11:21:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-12 11:27:58 +0000 |
commit | 0a756818c7d26e7a80634db6fa1961812bced423 (patch) | |
tree | bcaecd19a7d6e5de0f1abe3ccfcceea11ff5f3a8 /include | |
parent | 9b4431098950a71b3c355386d37bc0d4f3f440d2 (diff) |
coverity#1269589 Uncaught exception
and
coverity#1269587 Uncaught exception
Change-Id: Ic532ed2dfe38e33bcf2d9cedd0edee2cf3869f17
Diffstat (limited to 'include')
-rw-r--r-- | include/canvas/base/graphicdevicebase.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/canvas/base/graphicdevicebase.hxx b/include/canvas/base/graphicdevicebase.hxx index f2216d44fa71..a28fc068eefc 100644 --- a/include/canvas/base/graphicdevicebase.hxx +++ b/include/canvas/base/graphicdevicebase.hxx @@ -187,8 +187,10 @@ namespace canvas return maDeviceHelper.createCompatibleBezierPolyPolygon( this, points ); } - virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleBitmap( const css::geometry::IntegerSize2D& size ) throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException) SAL_OVERRIDE + virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleBitmap( const css::geometry::IntegerSize2D& size ) + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException, + std::exception) SAL_OVERRIDE { tools::verifyBitmapSize(size, BOOST_CURRENT_FUNCTION, @@ -211,8 +213,10 @@ namespace canvas return maDeviceHelper.createVolatileBitmap( this, size ); } - virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleAlphaBitmap( const css::geometry::IntegerSize2D& size ) throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException) SAL_OVERRIDE + virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleAlphaBitmap( const css::geometry::IntegerSize2D& size ) + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException, + std::exception) SAL_OVERRIDE { tools::verifyBitmapSize(size, BOOST_CURRENT_FUNCTION, |