summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-17 09:27:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-17 15:19:44 +0100
commitfabbdc70ad7800ba80826edc3c380bf472718a6e (patch)
tree2fd52b0da0f67afcbf21530664249f66afcdaa9a
parent331f4663e4c50992f8e5f6a9a310073e041377e3 (diff)
coverity#1247632 Uncaught exception
Change-Id: I8d6df8c6853f0bd2f0b099d14bf0ac246170e7f1
-rw-r--r--include/oox/ppt/dgmimport.hxx2
-rw-r--r--oox/source/ppt/dgmimport.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/oox/ppt/dgmimport.hxx b/include/oox/ppt/dgmimport.hxx
index f4d4e962a571..3efad8bcd677 100644
--- a/include/oox/ppt/dgmimport.hxx
+++ b/include/oox/ppt/dgmimport.hxx
@@ -40,7 +40,7 @@ public:
QuickDiagrammingImport( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
// from FilterBase
- virtual bool importDocument() throw (css::uno::RuntimeException) SAL_OVERRIDE;
+ virtual bool importDocument() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual bool exportDocument() throw() SAL_OVERRIDE;
virtual const ::oox::drawingml::Theme* getCurrentTheme() const SAL_OVERRIDE;
diff --git a/oox/source/ppt/dgmimport.cxx b/oox/source/ppt/dgmimport.cxx
index dcb803195c05..a64b576a6f7b 100644
--- a/oox/source/ppt/dgmimport.cxx
+++ b/oox/source/ppt/dgmimport.cxx
@@ -55,7 +55,7 @@ QuickDiagrammingImport::QuickDiagrammingImport( const ::com::sun::star::uno::Ref
: XmlFilterBase( rxContext )
{}
-bool QuickDiagrammingImport::importDocument() throw (css::uno::RuntimeException)
+bool QuickDiagrammingImport::importDocument() throw (css::uno::RuntimeException, std::exception)
{
/* to activate the PPTX dumper, define the environment variable
OOO_PPTXDUMPER and insert the full path to the file