summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 16:59:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:55:53 +0100
commit29df4fed2553583839cac3b052e0bf4f6f4fb4e1 (patch)
tree54f3abcf110e124240b7921854fe954c79993d36 /dbaccess
parente71ccd6e4534832734df8fc9ae75f2d449cefbc4 (diff)
coverity#1308523 Uncaught exception
Change-Id: I965a4e86dd48ebec22ca9dccc77374a6e117fc7e
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.cxx2
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index 9b37f0565289..079b7bcb3b80 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -273,7 +273,7 @@ sal_Bool SAL_CALL ODBFilter::filter( const Sequence< PropertyValue >& rDescripto
}
bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
OUString sFileName;
::comphelper::NamedValueCollection aMediaDescriptor( rDescriptor );
diff --git a/dbaccess/source/filter/xml/xmlfilter.hxx b/dbaccess/source/filter/xml/xmlfilter.hxx
index 732db5213d50..7a8bfac624f1 100644
--- a/dbaccess/source/filter/xml/xmlfilter.hxx
+++ b/dbaccess/source/filter/xml/xmlfilter.hxx
@@ -83,7 +83,7 @@ private:
sal_Int32 m_nPreviewMode;
bool m_bNewFormat;
- bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException);
+ bool implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException, std::exception);
/** fills the map with the Properties
@param _rValue