From 3cf45651653a49639e30ddb629bfd72cdf53e0d6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 28 Jun 2015 16:36:01 +0100 Subject: coverity#1308508 Uncaught exception Change-Id: Ibe262b89ed66830444edefa93f971b353d2f16ce --- svx/source/inc/xmlxtexp.hxx | 2 +- svx/source/xml/xmlxtexp.cxx | 2 +- 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& xTable, const uno::Reference& xStorage, OUString *pOptName ) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { bool bRet = false; SfxMedium* pMedium = NULL; -- cgit