diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 20:52:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 20:52:35 +0100 |
commit | 6f823d85f73ab149a65a0af81cf3691a0702039e (patch) | |
tree | b931ab2eb7ea833cd88fa1701226223e57bb7138 /scripting | |
parent | d7876aeb21244c8a55111c89f38e48acab01a2b7 (diff) |
coverity#1308548 Uncaught exception
Change-Id: I62d538799a814346df4de00dc232a04376e77ad7
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 2 | ||||
-rw-r--r-- | scripting/source/stringresource/stringresource.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index c2d41831a27f..911fc8e2e863 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -1153,7 +1153,7 @@ void StringResourcePersistenceImpl::implKillChangedDefaultFiles const OUString& aNameBase, const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XSimpleFileAccess3 >& xFileAccess ) - throw (Exception, RuntimeException) + throw (Exception, RuntimeException, std::exception) { // Delete files for changed defaults for( LocaleItemVectorIt it = m_aChangedDefaultLocaleVector.begin(); diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx index 069cb14da43f..d6a5ac3febd8 100644 --- a/scripting/source/stringresource/stringresource.hxx +++ b/scripting/source/stringresource/stringresource.hxx @@ -297,7 +297,7 @@ protected: const OUString& aNameBase, const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XSimpleFileAccess3 >& xFileAccess ) - throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception); void implStoreAtLocation ( |