summaryrefslogtreecommitdiff
path: root/include
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 /include
parentd09279cd0aecb65027304a73e9fbaf141688dff6 (diff)
coverity#707245 Uncaught exception
Change-Id: I9579078a845cd25e25b863e08de94aec1687d596
Diffstat (limited to 'include')
-rw-r--r--include/svx/fmdpage.hxx2
-rw-r--r--include/svx/unopage.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx
index e564570a6426..8717f2ff2fa1 100644
--- a/include/svx/fmdpage.hxx
+++ b/include/svx/fmdpage.hxx
@@ -40,7 +40,7 @@ protected:
// The following method is called when a SvxShape object should be created.
// Derived classes can create a derivation or an object aggregating SvxShape.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const
- throw (std::exception) SAL_OVERRIDE;
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
public:
SvxFmDrawPage( SdrPage* pPage );
diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx
index 8dc123b2e294..beba5e1c275f 100644
--- a/include/svx/unopage.hxx
+++ b/include/svx/unopage.hxx
@@ -101,7 +101,7 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< ::com::sun:
// The following method is called if a SvxShape object is to be created.
// Derived classes can create a derivation or an SvxShape aggregating object.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const
- throw (std::exception);
+ throw (css::uno::RuntimeException, std::exception);
UNO3_GETIMPLEMENTATION_DECL( SvxDrawPage )