diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 12:58:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 20:19:10 +0100 |
commit | dde3c84d4492f0bea8e5509bedc1313d6e1fd70b (patch) | |
tree | 48380a9f12619762465ef8ab6b12c2292d285d1e /sd | |
parent | coverity#735656 Division or modulo by zero (diff) | |
download | core-dde3c84d4492f0bea8e5509bedc1313d6e1fd70b.tar.gz core-dde3c84d4492f0bea8e5509bedc1313d6e1fd70b.zip |
coverity#737762 Uncaught exception
Change-Id: Iaa34147326ebcb3a29b922c29c0a1fd6b4a5f515
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 23e5b8e383dc..05359fc3d6ae 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 (std::exception) SAL_OVERRIDE; + virtual bool exportDocument() throw (css::uno::RuntimeException, 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 886cb9459239..980befa27606 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -330,7 +330,7 @@ bool PowerPointExport::importDocument() throw() return false; } -bool PowerPointExport::exportDocument() throw (std::exception) +bool PowerPointExport::exportDocument() throw (css::uno::RuntimeException, std::exception) { DrawingML::ResetCounters(); maShapeMap.clear (); |