summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-03 16:49:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-03 20:10:17 +0100
commit0301abbbc33c794fccd4e84f75b6de4c296f957c (patch)
treec37a4e84a053f3599e3736e30a8e6f901724f34b /framework
parentc087b60b0dd70c4a711ba1b4d556206a136fa468 (diff)
coverity#1219801 Uncaught exception
Change-Id: I372c1891e41510c24daf256d00f3ca98e8a374a9
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/uiconfiguration/moduleimagemanager.hxx5
-rw-r--r--framework/source/uiconfiguration/moduleimagemanager.cxx4
2 files changed, 7 insertions, 2 deletions
diff --git a/framework/inc/uiconfiguration/moduleimagemanager.hxx b/framework/inc/uiconfiguration/moduleimagemanager.hxx
index 5afe454847b1..0775d1deac7f 100644
--- a/framework/inc/uiconfiguration/moduleimagemanager.hxx
+++ b/framework/inc/uiconfiguration/moduleimagemanager.hxx
@@ -72,7 +72,10 @@ namespace framework
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XImageManager
- virtual void SAL_CALL reset() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL reset()
+ throw (css::lang::IllegalAccessException,
+ css::uno::RuntimeException,
+ std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAllImageNames( ::sal_Int16 nImageType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasImage( ::sal_Int16 nImageType, const OUString& aCommandURL ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > > SAL_CALL getImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< OUString >& aCommandURLSequence ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/framework/source/uiconfiguration/moduleimagemanager.cxx b/framework/source/uiconfiguration/moduleimagemanager.cxx
index 1047878f2d2a..d9979c6fead9 100644
--- a/framework/source/uiconfiguration/moduleimagemanager.cxx
+++ b/framework/source/uiconfiguration/moduleimagemanager.cxx
@@ -100,7 +100,9 @@ void SAL_CALL ModuleImageManager::initialize( const Sequence< Any >& aArguments
// XImageManager
void SAL_CALL ModuleImageManager::reset()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::lang::IllegalAccessException,
+ css::uno::RuntimeException,
+ std::exception)
{
m_pImpl->reset();
}