Kaydet (Commit) 0a756818 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1269589 Uncaught exception

and

coverity#1269587 Uncaught exception

Change-Id: Ic532ed2dfe38e33bcf2d9cedd0edee2cf3869f17
üst 9b443109
...@@ -187,8 +187,10 @@ namespace canvas ...@@ -187,8 +187,10 @@ namespace canvas
return maDeviceHelper.createCompatibleBezierPolyPolygon( this, points ); return maDeviceHelper.createCompatibleBezierPolyPolygon( this, points );
} }
virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleBitmap( const css::geometry::IntegerSize2D& size ) throw (css::lang::IllegalArgumentException, virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleBitmap( const css::geometry::IntegerSize2D& size )
css::uno::RuntimeException) SAL_OVERRIDE throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException,
std::exception) SAL_OVERRIDE
{ {
tools::verifyBitmapSize(size, tools::verifyBitmapSize(size,
BOOST_CURRENT_FUNCTION, BOOST_CURRENT_FUNCTION,
...@@ -211,8 +213,10 @@ namespace canvas ...@@ -211,8 +213,10 @@ namespace canvas
return maDeviceHelper.createVolatileBitmap( this, size ); return maDeviceHelper.createVolatileBitmap( this, size );
} }
virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleAlphaBitmap( const css::geometry::IntegerSize2D& size ) throw (css::lang::IllegalArgumentException, virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleAlphaBitmap( const css::geometry::IntegerSize2D& size )
css::uno::RuntimeException) SAL_OVERRIDE throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException,
std::exception) SAL_OVERRIDE
{ {
tools::verifyBitmapSize(size, tools::verifyBitmapSize(size,
BOOST_CURRENT_FUNCTION, BOOST_CURRENT_FUNCTION,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment