diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 10:23:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 10:58:03 +0100 |
commit | d9cd707a226baf157cc58f547228195eedcd6886 (patch) | |
tree | 96103a432d90542ddefa6ee3cfc436e43374d7cd /svx | |
parent | 54f52a53ae844c86a29130d6db0feff695c0aba4 (diff) |
coverity#1209943 Uncaught exception
Change-Id: I3bb5ecb07d859a05337884a5b29d991b46382b48
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/shapeimpl.hxx | 7 | ||||
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/svx/source/unodraw/shapeimpl.hxx b/svx/source/unodraw/shapeimpl.hxx index 0b8e2c696f67..9a424863359b 100644 --- a/svx/source/unodraw/shapeimpl.hxx +++ b/svx/source/unodraw/shapeimpl.hxx @@ -87,7 +87,12 @@ class SvxFrameShape : public SvxOle2Shape protected: // overide these for special property handling in subcasses. Return true if property is handled virtual bool setPropertyValueImpl( const OUString& rName, const SfxItemPropertySimpleEntry* pProperty, const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; - virtual bool getPropertyValueImpl( const OUString& rName, const SfxItemPropertySimpleEntry* pProperty, ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual bool getPropertyValueImpl(const OUString& rName, const SfxItemPropertySimpleEntry* pProperty, + css::uno::Any& rValue) + throw (css::beans::UnknownPropertyException, + css::lang::WrappedTargetException, + css::uno::RuntimeException, + std::exception) SAL_OVERRIDE; public: SvxFrameShape( SdrObject* pObj ) throw(); diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 36a161f94c5e..b4b2af19df45 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -766,7 +766,12 @@ bool SvxFrameShape::setPropertyValueImpl( const OUString& rName, const SfxItemPr } } -bool SvxFrameShape::getPropertyValueImpl( const OUString& rName, const SfxItemPropertySimpleEntry* pProperty, ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) +bool SvxFrameShape::getPropertyValueImpl(const OUString& rName, const SfxItemPropertySimpleEntry* pProperty, + css::uno::Any& rValue) + throw (css::beans::UnknownPropertyException, + css::lang::WrappedTargetException, + css::uno::RuntimeException, + std::exception) { if( (pProperty->nWID >= OWN_ATTR_FRAME_URL) && (pProperty->nWID <= OWN_ATTR_FRAME_MARGIN_HEIGHT) ) { |