diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-24 15:08:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-24 16:10:59 +0100 |
commit | 94cf2594570576c80287362e83d85c0feec8cc3e (patch) | |
tree | f34d0d2d640f8ecce78cb11bb397a191cfcb3f29 /sd | |
parent | 31ded1744150cac86c270957fd0fa193e8437a36 (diff) |
coverity#983802 Uncaught exception
Change-Id: I06be01500a767e600a7f391a3e74a92d05b6d73f
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unopage.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index a4fd2e2a758d..3e788c881980 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -386,7 +386,7 @@ SdXImpressDocument* SdGenericDrawPage::GetModel() const // this is called whenever a SdrObject must be created for a empty api shape wrapper SdrObject * SdGenericDrawPage::_CreateSdrObject( const Reference< drawing::XShape >& xShape ) - throw (std::exception) + throw (css::uno::RuntimeException, std::exception) { if( NULL == SvxFmDrawPage::mpPage || !xShape.is() ) return NULL; diff --git a/sd/source/ui/unoidl/unopage.hxx b/sd/source/ui/unoidl/unopage.hxx index e2712b021e09..b2ea8aab9fa8 100644 --- a/sd/source/ui/unoidl/unopage.hxx +++ b/sd/source/ui/unoidl/unopage.hxx @@ -105,7 +105,7 @@ public: // this is called whenever a SdrObject must be created for a empty api shape wrapper virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) - throw (std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // SvxFmDrawPage virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const |