summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-09 21:01:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-09 21:07:41 +0000
commitda797ff3ad827dad6549c6713b67c1db71427bb0 (patch)
treeca166d810971be2f6dfb39ee3820acd89fd1fa09 /vcl/qa/cppunit
parent4051ed660873d6026c4c2a37a62d338fd63b8b81 (diff)
coverity#1130463 Uncaught exception
Change-Id: I4c81275d217a0fa500a7ffdff3b9ade73dbface0
Diffstat (limited to 'vcl/qa/cppunit')
-rw-r--r--vcl/qa/cppunit/canvasbitmaptest.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/canvasbitmaptest.cxx b/vcl/qa/cppunit/canvasbitmaptest.cxx
index 7360de6e03f5..973d149bba2e 100644
--- a/vcl/qa/cppunit/canvasbitmaptest.cxx
+++ b/vcl/qa/cppunit/canvasbitmaptest.cxx
@@ -257,8 +257,11 @@ private:
// XIntegerReadOnlyBitmap
virtual uno::Sequence< ::sal_Int8 > SAL_CALL getData( rendering::IntegerBitmapLayout& bitmapLayout,
- const geometry::IntegerRectangle2D& rect ) throw (lang::IndexOutOfBoundsException,
- rendering::VolatileContentDestroyedException, uno::RuntimeException)
+ const geometry::IntegerRectangle2D& rect )
+ throw (lang::IndexOutOfBoundsException,
+ rendering::VolatileContentDestroyedException,
+ uno::RuntimeException,
+ std::exception)
{
CPPUNIT_ASSERT_MESSAGE( "X1 out of bounds", rect.X1 >= 0 );
CPPUNIT_ASSERT_MESSAGE( "Y1 out of bounds", rect.Y1 >= 0 );