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

coverity#1247647 Uncaught exception

Change-Id: I1e47f3970f944aa3556e4ddb9b7918d9ee23c0eb
üst f5b1b266
......@@ -58,7 +58,7 @@ protected:
virtual bool GetItemProperty( tWhichIdType nWhichId, tPropertyNameWithMemberId & rOutProperty ) const SAL_OVERRIDE;
virtual void FillSpecialItem( sal_uInt16 nWhichId, SfxItemSet & rOutItemSet ) const
throw( ::com::sun::star::uno::Exception ) SAL_OVERRIDE;
throw (css::uno::Exception, std::exception) SAL_OVERRIDE;
virtual bool ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSet & rItemSet )
throw( ::com::sun::star::uno::Exception ) SAL_OVERRIDE;
......
......@@ -148,7 +148,7 @@ protected:
The default implementation does nothing except showing an assertion
*/
virtual void FillSpecialItem( sal_uInt16 nWhichId, SfxItemSet & rOutItemSet ) const
throw( ::com::sun::star::uno::Exception );
throw (css::uno::Exception, std::exception);
/** for items that can not be mapped directly to a property.
......
......@@ -234,7 +234,7 @@ bool GraphicPropertyItemConverter::GetItemProperty( tWhichIdType nWhichId, tProp
void GraphicPropertyItemConverter::FillSpecialItem(
sal_uInt16 nWhichId, SfxItemSet & rOutItemSet ) const
throw( uno::Exception )
throw (uno::Exception, std::exception)
{
switch( nWhichId )
{
......
......@@ -150,7 +150,7 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
void ItemConverter::FillSpecialItem(
sal_uInt16 /*nWhichId*/, SfxItemSet & /*rOutItemSet*/ ) const
throw( uno::Exception )
throw (uno::Exception, std::exception)
{
OSL_FAIL( "ItemConverter: Unhandled special item found!" );
}
......
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