summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shutdownicon.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/shutdownicon.hxx')
-rw-r--r--sfx2/source/appl/shutdownicon.hxx35
1 files changed, 10 insertions, 25 deletions
diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx
index 963c343529c5..1d49954c5a6e 100644
--- a/sfx2/source/appl/shutdownicon.hxx
+++ b/sfx2/source/appl/shutdownicon.hxx
@@ -89,14 +89,11 @@ class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
virtual ~ShutdownIcon() override;
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
- virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override;
- virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
static ShutdownIcon* getInstance();
static ShutdownIcon* createInstance();
@@ -114,7 +111,7 @@ class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
static bool bModalMode;
/// @throws css::uno::Exception
- void init() throw( css::uno::Exception, std::exception );
+ void init();
OUString GetResString( int id );
static OUString GetUrlDescription( const OUString& aUrl );
@@ -130,31 +127,19 @@ class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
virtual void SAL_CALL disposing() override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
// XTerminateListener
- virtual void SAL_CALL queryTermination( const css::lang::EventObject& aEvent )
- throw(css::frame::TerminationVetoException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL notifyTermination( const css::lang::EventObject& aEvent )
- throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL queryTermination( const css::lang::EventObject& aEvent ) override;
+ virtual void SAL_CALL notifyTermination( const css::lang::EventObject& aEvent ) override;
// XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments )
- throw( css::uno::Exception, std::exception ) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// XFastPropertySet
virtual void SAL_CALL setFastPropertyValue( ::sal_Int32 nHandle,
- const css::uno::Any& aValue )
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getFastPropertyValue( ::sal_Int32 nHandle )
- throw (css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Any& aValue ) override;
+ virtual css::uno::Any SAL_CALL getFastPropertyValue( ::sal_Int32 nHandle ) override;
css::uno::Reference< css::frame::XDesktop2 > m_xDesktop;