diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 09:48:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 10:57:59 +0100 |
commit | f829d088a6db46f8f921e7d80cf0d10bb4fd0744 (patch) | |
tree | 27eeb117b22b2fb45bb27c9fcc548e7e29814953 /sd | |
parent | 4598bbe41d0906a34ceb1126c7fce2108642cd8e (diff) |
coverity#707138 Uncaught exception
Change-Id: Ifd9a8ea49b48e81cdff859d2659fbd4d828afa90
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unopage.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 3e788c881980..c7dc1d787f1e 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -1338,8 +1338,8 @@ void SAL_CALL SdGenericDrawPage::firePropertiesChangeEvent( const Sequence< OUSt { } -Reference< drawing::XShape > SdGenericDrawPage::_CreateShape( SdrObject *pObj ) const - throw (std::exception) +Reference< drawing::XShape > SdGenericDrawPage::_CreateShape(SdrObject *pObj) const + throw (RuntimeException, std::exception) { DBG_ASSERT( GetPage(), "SdGenericDrawPage::_CreateShape(), can't create shape for disposed page!" ); DBG_ASSERT( pObj, "SdGenericDrawPage::_CreateShape(), invalid call with pObj == 0!" ); diff --git a/sd/source/ui/unoidl/unopage.hxx b/sd/source/ui/unoidl/unopage.hxx index b2ea8aab9fa8..c19b2125bd42 100644 --- a/sd/source/ui/unoidl/unopage.hxx +++ b/sd/source/ui/unoidl/unopage.hxx @@ -108,8 +108,8 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // SvxFmDrawPage - virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const - throw (std::exception) SAL_OVERRIDE; + virtual css::uno::Reference<css::drawing::XShape> _CreateShape(SdrObject *pObj) const + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; |