summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 09:19:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 09:43:34 +0100
commit7462cfde6d3c8ce38455935c83261633c3a1d433 (patch)
tree33143b410e1581b7abefe598fd9396b3f5656456 /scripting
parent5887200e10398fb5264dfaa853bbc51b1c6e7a4f (diff)
coverity#1308579 Uncaught exception
Change-Id: I6bd1f9cdf69865972de9c22106a95e1ebf9a74f7
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/stringresource/stringresource.cxx2
-rw-r--r--scripting/source/stringresource/stringresource.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 53cdcbf50f12..79b018eb9edb 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -1127,7 +1127,7 @@ void StringResourcePersistenceImpl::implKillRemovedLocaleFiles
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 deleted locales
while( m_aDeletedLocaleItemVector.size() > 0 )
diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx
index 853b214137a0..5992ea808efe 100644
--- a/scripting/source/stringresource/stringresource.hxx
+++ b/scripting/source/stringresource/stringresource.hxx
@@ -289,7 +289,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 implKillChangedDefaultFiles
(