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 {