summaryrefslogtreecommitdiff
path: root/include/svx/fmdpage.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-13 16:50:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-13 21:04:51 +0000
commit46a2576c130ce199f71492201980b3adb9a5cc07 (patch)
tree679e323680e94752bb72430dca4435b953e64cc3 /include/svx/fmdpage.hxx
parentd051a056c96e212b879a53444646a88dae1b8972 (diff)
coverity#737846 Uncaught exception
Change-Id: I9257ec4d9ccb7c602a9537230b61be944371d3ad
Diffstat (limited to 'include/svx/fmdpage.hxx')
-rw-r--r--include/svx/fmdpage.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx
index 16d5ed984d8e..9081076cfc55 100644
--- a/include/svx/fmdpage.hxx
+++ b/include/svx/fmdpage.hxx
@@ -34,11 +34,13 @@ protected:
// Creating a SdrObject based on a Description. Cann be used by derived classes to
// support own ::com::sun::star::drawing::Shapes (for example Controls)
- virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xShape )throw ();
+ virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xShape )
+ throw (std::exception);
// 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 ();
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const
+ throw (std::exception);
public:
SvxFmDrawPage( SdrPage* pPage );