summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 18:53:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:54:11 +0100
commit0644b0219b6887a79a5864b5777b2c8d5fdd4f44 (patch)
tree2f73da8f8450e94e16f77e03adee9da7c0a16625 /sfx2
parentd7847d7998805a61d8c8b5723c43c19d44cc9ba7 (diff)
coverity#1308473 Uncaught exception
Change-Id: I554f7edb9f08c473a54f8b14206e5ae57bdf6470
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/shutdownicon.cxx2
-rw-r--r--sfx2/source/appl/shutdownicon.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index a8b8a1360690..22f82844740d 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -577,7 +577,7 @@ ShutdownIcon* ShutdownIcon::createInstance()
return pShutdownIcon;
}
-void ShutdownIcon::init() throw( ::com::sun::star::uno::Exception )
+void ShutdownIcon::init() throw( ::com::sun::star::uno::Exception, std::exception )
{
// access resource system and sfx only protected by solarmutex
::SolarMutexGuard aSolarGuard;
diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx
index 9e9db7a5d35d..b4cd38f35c15 100644
--- a/sfx2/source/appl/shutdownicon.hxx
+++ b/sfx2/source/appl/shutdownicon.hxx
@@ -108,7 +108,7 @@ class SFX2_DLLPUBLIC ShutdownIcon : public ShutdownIconServiceBase
static bool GetAutostart();
static bool bModalMode;
- void init() throw( ::com::sun::star::uno::Exception );
+ void init() throw( ::com::sun::star::uno::Exception, std::exception );
OUString GetResString( int id );
static OUString GetUrlDescription( const OUString& aUrl );