summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-26 10:11:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-26 10:11:02 +0100
commit8305efa9e8c3af4792b4ab96dbee908e004b3356 (patch)
tree26f5e3769a458959286f09b7e81c46e8a22469f2 /extensions
parentecbb4efb1588c11c6c9d606ad429d2641f06576c (diff)
coverity#983665 Uncaught exception
Change-Id: I3d0cd9a9bde8c3705abd876e832b6b7e56bb7fad
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/plugin/aqua/macmgr.mm2
-rw-r--r--extensions/source/plugin/inc/plugin/impl.hxx2
-rw-r--r--extensions/source/plugin/unx/unxmgr.cxx2
-rw-r--r--extensions/source/plugin/win/winmgr.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/plugin/aqua/macmgr.mm b/extensions/source/plugin/aqua/macmgr.mm
index 1c26cf223fa1..878571a9377e 100644
--- a/extensions/source/plugin/aqua/macmgr.mm
+++ b/extensions/source/plugin/aqua/macmgr.mm
@@ -584,7 +584,7 @@ static rtl::OUString FindFolderURL( FSVolumeRefNum vRefNum, OSType folderType )
return aRet;
}
-Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() throw()
+Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() throw(css::uno::RuntimeException, std::exception)
{
static Sequence<PluginDescription> aDescriptions;
static sal_Bool bHavePlugins = sal_False;
diff --git a/extensions/source/plugin/inc/plugin/impl.hxx b/extensions/source/plugin/inc/plugin/impl.hxx
index c9b545e6fa08..a22af7c8ba6f 100644
--- a/extensions/source/plugin/inc/plugin/impl.hxx
+++ b/extensions/source/plugin/inc/plugin/impl.hxx
@@ -303,7 +303,7 @@ public:
virtual Reference< com::sun::star::plugin::XPluginContext > SAL_CALL createPluginContext() throw(std::exception) SAL_OVERRIDE;
// has to be implemented per system
- virtual Sequence< com::sun::star::plugin::PluginDescription > SAL_CALL impl_getPluginDescriptions(void) throw();
+ virtual Sequence< com::sun::star::plugin::PluginDescription > SAL_CALL impl_getPluginDescriptions() throw(css::uno::RuntimeException, std::exception);
// calls system specific impl_getPluginDescriptions
// checks whether plugins are disabled
virtual Sequence< com::sun::star::plugin::PluginDescription > SAL_CALL getPluginDescriptions()
diff --git a/extensions/source/plugin/unx/unxmgr.cxx b/extensions/source/plugin/unx/unxmgr.cxx
index b1aae92f8e31..0433aea921fe 100644
--- a/extensions/source/plugin/unx/unxmgr.cxx
+++ b/extensions/source/plugin/unx/unxmgr.cxx
@@ -234,7 +234,7 @@ static void CheckPluginRegistryFiles( const OString& rPath, list< PluginDescript
closedir( pDIR );
}
-Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() throw()
+Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() throw(css::uno::RuntimeException, std::exception)
{
static Sequence<PluginDescription> aDescriptions;
static bool bHavePlugins = false;
diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx
index 8f531e7dc70e..881ec270b0e3 100644
--- a/extensions/source/plugin/win/winmgr.cxx
+++ b/extensions/source/plugin/win/winmgr.cxx
@@ -299,7 +299,7 @@ static void add_SO_Plugins( PluginLocationMap & rPlugins )
}
-Sequence< PluginDescription > XPluginManager_Impl::impl_getPluginDescriptions(void) throw()
+Sequence< PluginDescription > XPluginManager_Impl::impl_getPluginDescriptions() throw(css::uno::RuntimeException, std::exception)
{
Guard< Mutex > aGuard( Mutex::getGlobalMutex() );
static Sequence<PluginDescription > s_aDescriptions( 0 );