diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 10:24:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 11:19:10 +0100 |
commit | 919187cbcc5d301c3c7f80fa0ff8cd5462dcc155 (patch) | |
tree | c79472c15e16c46ce3e258064a2748b248772785 /sd | |
parent | 43155517de4670c35b98fb4df5f94217685f8d70 (diff) |
coverity#1194939 Uncaught exception
Change-Id: I679b494c7c563a776da7ee891c0f4e92926fcfe4
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptooxml.hxx | 2 | ||||
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index 6f4fa03afefc..519db4d21681 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -71,7 +71,7 @@ public: // from FilterBase virtual bool importDocument() throw() SAL_OVERRIDE; - virtual bool exportDocument() throw() SAL_OVERRIDE; + virtual bool exportDocument() throw (std::exception) SAL_OVERRIDE; // only needed for import, leave them empty, refactor later XmlFilterBase to export and import base? virtual sal_Int32 getSchemeClr( sal_Int32 /* nColorSchemeToken */ ) const { return 0; } diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 9cab5ade0780..4ba1fd991831 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -329,7 +329,7 @@ bool PowerPointExport::importDocument() throw() return false; } -bool PowerPointExport::exportDocument() throw() +bool PowerPointExport::exportDocument() throw (std::exception) { DrawingML::ResetCounters(); maShapeMap.clear (); |