summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-03 20:14:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-04 09:38:12 +0100
commitae6b606f5769a45f3b56e29528d36a2d2b4660d6 (patch)
treeb1a6693617229a00ea1dd7171b54a8267034c770
parent1d2993df98798e0432d140651045a49a4caef2e8 (diff)
coverity#737243 Uncaught exception
Change-Id: I4bef14453d076f11066a695bc4a948cea5cfd40b
-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 993e79b62be1..f4d4e962a571 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() SAL_OVERRIDE;
+ virtual bool importDocument() throw (css::uno::RuntimeException) 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 7ff543cfbbb7..19ff1cab4817 100644
--- a/oox/source/ppt/dgmimport.cxx
+++ b/oox/source/ppt/dgmimport.cxx
@@ -54,7 +54,7 @@ QuickDiagrammingImport::QuickDiagrammingImport( const ::com::sun::star::uno::Ref
: XmlFilterBase( rxContext )
{}
-bool QuickDiagrammingImport::importDocument() throw()
+bool QuickDiagrammingImport::importDocument() throw (css::uno::RuntimeException)
{
/* to activate the PPTX dumper, define the environment variable
OOO_PPTXDUMPER and insert the full path to the file