summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 16:36:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:55:47 +0100
commit3cf45651653a49639e30ddb629bfd72cdf53e0d6 (patch)
tree5a7ece749238211bef562acc0b17b2a6c61ce74d
parent3adc9c2a0fba8aedf580c505d8eead1c3eff44db (diff)
coverity#1308508 Uncaught exception
Change-Id: Ibe262b89ed66830444edefa93f971b353d2f16ce
-rw-r--r--svx/source/inc/xmlxtexp.hxx2
-rw-r--r--svx/source/xml/xmlxtexp.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx
index bf21883f75f9..e3a80d4e32b9 100644
--- a/svx/source/inc/xmlxtexp.hxx
+++ b/svx/source/inc/xmlxtexp.hxx
@@ -50,7 +50,7 @@ public:
const ::com::sun::star::uno::Reference <
::com::sun::star::embed::XStorage > &xStorage,
OUString *pOptName )
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// methods without content:
virtual void _ExportAutoStyles() SAL_OVERRIDE;
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index 9b71b37c9b86..83239424f13a 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -210,7 +210,7 @@ bool SvxXMLXTableExportComponent::save(
const uno::Reference<container::XNameContainer >& xTable,
const uno::Reference<embed::XStorage >& xStorage,
OUString *pOptName )
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{
bool bRet = false;
SfxMedium* pMedium = NULL;