summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unodraw.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-01 10:19:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-01 10:56:15 +0100
commit855010d9d1db33b8cb11f32d2f94014df6997682 (patch)
treedc4a5b7016509acfd5084cea87cede97ea5f665f /sw/source/core/unocore/unodraw.cxx
parent1b6cefaf68b89da765847093ecb542c1139935d3 (diff)
coverity#707290 Uncaught exception
Change-Id: If020fd537c15c41fe33134f554b7df1f10f18570
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r--sw/source/core/unocore/unodraw.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index c11fc43b2e12..2717324d72ea 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -300,7 +300,8 @@ SdrObject* SwFmDrawPage::_CreateSdrObject( const uno::Reference< drawing::XShape
return SvxFmDrawPage::_CreateSdrObject( xShape );
}
-uno::Reference< drawing::XShape > SwFmDrawPage::_CreateShape( SdrObject *pObj ) const throw (std::exception)
+uno::Reference< drawing::XShape > SwFmDrawPage::_CreateShape( SdrObject *pObj ) const
+ throw (uno::RuntimeException, std::exception)
{
uno::Reference< drawing::XShape > xRet;
if(pObj->ISA(SwVirtFlyDrawObj) || pObj->GetObjInventor() == SWGInventor)