summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 12:35:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 12:58:07 +0100
commit53bd35aafdcfec740b495db7ed5d48fb8077132c (patch)
treedf489f76da51d642a174f74ecd2ca4a4d91e5925 /sd
parentc921885cfd7119fcdbec92f4106890d6ce0ad9c2 (diff)
coverity#1308553 Uncaught exception
Change-Id: I26d41fa888c2426ad8e77a170d9e9eb880ad32df
Diffstat (limited to 'sd')
-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 5d5a68be5592..350492431ba9 100644
--- a/sd/source/ui/inc/unopage.hxx
+++ b/sd/source/ui/inc/unopage.hxx
@@ -68,7 +68,7 @@ protected:
const SvxItemPropertySet* mpPropSet;
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();
+ virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw(std::exception);
OUString getBookmarkURL() const;
void setBookmarkURL( OUString& rURL );
@@ -235,7 +235,7 @@ 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, std::exception ) SAL_OVERRIDE;
- virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw() SAL_OVERRIDE;
+ virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw (std::exception) SAL_OVERRIDE;
public:
SdMasterPage( SdXImpressDocument* pModel, SdPage* pInPage ) throw();
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index 60d72873b5e1..0455f55e6474 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -1527,7 +1527,7 @@ void SdGenericDrawPage::setBackground( const Any& ) throw(lang::IllegalArgumentE
OSL_FAIL( "Don't call me, I'm useless!" );
}
-void SdGenericDrawPage::getBackground( Any& ) throw()
+void SdGenericDrawPage::getBackground( Any& ) throw(std::exception)
{
OSL_FAIL( "Don't call me, I'm useless!" );
}
@@ -2954,7 +2954,7 @@ void SdMasterPage::setBackground( const Any& rValue )
}
}
-void SdMasterPage::getBackground( Any& rValue ) throw()
+void SdMasterPage::getBackground( Any& rValue ) throw (std::exception)
{
if( GetModel() ) try
{