summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-10 09:32:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-10 10:48:41 +0100
commitef955b0c5e1264f5ce1262156125002279918b7b (patch)
tree5b81f1666d68401bde28cb8a3fc2a262e3dc7139 /svx
parentd09279cd0aecb65027304a73e9fbaf141688dff6 (diff)
coverity#707245 Uncaught exception
Change-Id: I9579078a845cd25e25b863e08de94aec1687d596
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmdpage.cxx2
-rw-r--r--svx/source/unodraw/unopage.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmdpage.cxx b/svx/source/form/fmdpage.cxx
index a7245b18226b..214728978aac 100644
--- a/svx/source/form/fmdpage.cxx
+++ b/svx/source/form/fmdpage.cxx
@@ -83,7 +83,7 @@ SdrObject *SvxFmDrawPage::_CreateSdrObject( const ::com::sun::star::uno::Referen
}
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > SvxFmDrawPage::_CreateShape( SdrObject *pObj ) const
- throw (std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
if( FmFormInventor == pObj->GetObjInventor() )
{
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index e6baa06ea074..0ede8d07190d 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -838,7 +838,7 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt3
}
Reference< drawing::XShape > SvxDrawPage::_CreateShape( SdrObject *pObj ) const
- throw (std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
Reference< drawing::XShape > xShape( CreateShapeByTypeAndInventor(pObj->GetObjIdentifier(),
pObj->GetObjInventor(),