coverity#1308553 Uncaught exception

Change-Id: I26d41fa888c2426ad8e77a170d9e9eb880ad32df
This commit is contained in:
Caolán McNamara
2015-06-29 12:35:57 +01:00
parent c921885cfd
commit 53bd35aafd
2 changed files with 4 additions and 4 deletions

View File

@@ -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();

View File

@@ -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
{