Kaydet (Commit) 53bd35aa authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308553 Uncaught exception

Change-Id: I26d41fa888c2426ad8e77a170d9e9eb880ad32df
üst c921885c
...@@ -68,7 +68,7 @@ protected: ...@@ -68,7 +68,7 @@ protected:
const SvxItemPropertySet* mpPropSet; const SvxItemPropertySet* mpPropSet;
virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::lang::IllegalArgumentException, std::exception); 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; OUString getBookmarkURL() const;
void setBookmarkURL( OUString& rURL ); void setBookmarkURL( OUString& rURL );
...@@ -235,7 +235,7 @@ private: ...@@ -235,7 +235,7 @@ private:
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > maTypeSequence; ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > maTypeSequence;
protected: protected:
virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw( ::com::sun::star::lang::IllegalArgumentException, std::exception ) 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; virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw (std::exception) SAL_OVERRIDE;
public: public:
SdMasterPage( SdXImpressDocument* pModel, SdPage* pInPage ) throw(); SdMasterPage( SdXImpressDocument* pModel, SdPage* pInPage ) throw();
......
...@@ -1527,7 +1527,7 @@ void SdGenericDrawPage::setBackground( const Any& ) throw(lang::IllegalArgumentE ...@@ -1527,7 +1527,7 @@ void SdGenericDrawPage::setBackground( const Any& ) throw(lang::IllegalArgumentE
OSL_FAIL( "Don't call me, I'm useless!" ); 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!" ); OSL_FAIL( "Don't call me, I'm useless!" );
} }
...@@ -2954,7 +2954,7 @@ void SdMasterPage::setBackground( const Any& rValue ) ...@@ -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 if( GetModel() ) try
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment