summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 16:53:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:55:51 +0100
commit074c8f68df1fff02bde1b3e4a781ddae34feda3e (patch)
tree1bc82768ad8ad661f58994423016907b8dc059d7 /sd/source
parentd38e09c273bbb1021b22b884dc37cdfba7d0bccb (diff)
coverity#1308519 Uncaught exception
Change-Id: I53ec25b565a3d74ca9c50733ecc237341af1f711
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/inc/unopage.hxx4
-rw-r--r--sd/source/ui/unoidl/unopage.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/inc/unopage.hxx b/sd/source/ui/inc/unopage.hxx
index 9ec4fb202926..5d5a68be5592 100644
--- a/sd/source/ui/inc/unopage.hxx
+++ b/sd/source/ui/inc/unopage.hxx
@@ -67,7 +67,7 @@ protected:
const SvxItemPropertySet* mpPropSet;
- virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::lang::IllegalArgumentException);
+ virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::lang::IllegalArgumentException, std::exception);
virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw();
OUString getBookmarkURL() const;
@@ -234,7 +234,7 @@ class SdMasterPage : public ::com::sun::star::presentation::XPresentationPage,
private:
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > maTypeSequence;
protected:
- virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw( ::com::sun::star::lang::IllegalArgumentException ) SAL_OVERRIDE;
+ virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw( ::com::sun::star::lang::IllegalArgumentException, std::exception ) SAL_OVERRIDE;
virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw() SAL_OVERRIDE;
public:
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index 9f1237f79bca..60d72873b5e1 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -1522,7 +1522,7 @@ Reference< container::XNameAccess > SAL_CALL SdGenericDrawPage::getLinks( )
return new SdPageLinkTargets( this );
}
-void SdGenericDrawPage::setBackground( const Any& ) throw(lang::IllegalArgumentException)
+void SdGenericDrawPage::setBackground( const Any& ) throw(lang::IllegalArgumentException, std::exception)
{
OSL_FAIL( "Don't call me, I'm useless!" );
}
@@ -2849,7 +2849,7 @@ Any SAL_CALL SdMasterPage::getByIndex( sal_Int32 Index )
// intern
void SdMasterPage::setBackground( const Any& rValue )
- throw( lang::IllegalArgumentException )
+ throw( lang::IllegalArgumentException, std::exception )
{
// we need at least an beans::XPropertySet
Reference< beans::XPropertySet > xInputSet( rValue, UNO_QUERY );