diff options
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, |