summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-13 16:51:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-13 21:04:52 +0000
commitbe921ceb350a2beb6586197f43090e87b8824fd6 (patch)
tree8d14897e215fcec398d07a2cb04c623a6a263622 /svx
parent46a2576c130ce199f71492201980b3adb9a5cc07 (diff)
coverity#738003 Uncaught exception
Change-Id: I09a015a590eeb2457963dbb3cfcafd6a714f82c9
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/cell.cxx4
-rw-r--r--svx/source/table/cell.hxx4
2 files changed, 6 insertions, 2 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index ed93d905a5f9..df3bc3eb86cc 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -890,7 +890,9 @@ Sequence< OUString > SAL_CALL Cell::getSupportedServiceNames( ) throw (RuntimeE
}
// XLayoutConstrains
-::com::sun::star::awt::Size SAL_CALL Cell::getMinimumSize( ) throw (RuntimeException)
+::com::sun::star::awt::Size SAL_CALL Cell::getMinimumSize()
+ throw (RuntimeException,
+ std::exception)
{
return ::com::sun::star::awt::Size( getMinimumWidth(), getMinimumHeight() );
}
diff --git a/svx/source/table/cell.hxx b/svx/source/table/cell.hxx
index 1b26b1cf9a80..e427878cde95 100644
--- a/svx/source/table/cell.hxx
+++ b/svx/source/table/cell.hxx
@@ -117,7 +117,9 @@ public:
SVX_DLLPRIVATE virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException);
// XLayoutConstrains
- SVX_DLLPRIVATE virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize( ) throw (::com::sun::star::uno::RuntimeException);
+ SVX_DLLPRIVATE virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize()
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
SVX_DLLPRIVATE virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize( ) throw (::com::sun::star::uno::RuntimeException);
SVX_DLLPRIVATE virtual ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize ) throw (::com::sun::star::uno::RuntimeException);