summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 15:01:30 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 15:30:27 +0000
commitea89446d5d7040f008c7b6c56afca03f738f7ec0 (patch)
tree8be6152f0edd52ae8dc63619ace7bdbd88fb953b /vcl/qa
parentc7a6e0645acc5bf6d92fda8986410866272bbbd6 (diff)
coverity#1130458 Uncaught exception
Change-Id: I2fd30daef6df18d0ef25132f9c0e445f613da10f
Diffstat (limited to 'vcl/qa')
-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 690a8225064c..5b8e6cd75221 100644
--- a/vcl/qa/cppunit/canvasbitmaptest.cxx
+++ b/vcl/qa/cppunit/canvasbitmaptest.cxx
@@ -572,8 +572,11 @@ private:
return aRes;
}
- virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertIntegerToPARGB( const uno::Sequence< ::sal_Int8 >& deviceColor ) throw (lang::IllegalArgumentException,
- uno::RuntimeException)
+ virtual uno::Sequence< rendering::ARGBColor > SAL_CALL convertIntegerToPARGB(
+ const uno::Sequence< ::sal_Int8 >& deviceColor)
+ throw (lang::IllegalArgumentException,
+ uno::RuntimeException,
+ std::exception)
{
const sal_Size nLen( deviceColor.getLength() );
const sal_Int32 nBytesPerPixel(mnBitsPerPixel == 8 ? 1 : 4);