diff options
-rw-r--r-- | sc/inc/afmtuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/afmtuno.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/afmtuno.hxx b/sc/inc/afmtuno.hxx index d6a35e5e4ec5..d18102851a01 100644 --- a/sc/inc/afmtuno.hxx +++ b/sc/inc/afmtuno.hxx @@ -169,7 +169,8 @@ public: // XNamed virtual OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setName( const OUString& aName ) - throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx index 2e0a87b9a443..cbfbfb7b89b6 100644 --- a/sc/source/ui/unoobj/afmtuno.cxx +++ b/sc/source/ui/unoobj/afmtuno.cxx @@ -530,7 +530,7 @@ OUString SAL_CALL ScAutoFormatObj::getName() throw(uno::RuntimeException) } void SAL_CALL ScAutoFormatObj::setName( const OUString& aNewName ) - throw(uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; OUString aNewString(aNewName); |