diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-03 20:18:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-04 09:38:12 +0100 |
commit | a7e6f6d17117482d699b2d230841997156828e1a (patch) | |
tree | 157034edad6fb54c90aa016320a7549cd8fc5c74 /sc | |
parent | 6b44b03c130ad63c50cbff34c719acb99ab500d5 (diff) |
coverity#737265 Uncaught exception
Change-Id: Icb36e8e72c6d99e9a72d360382855f325886f99b
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 3 | ||||
-rw-r--r-- | sc/source/filter/inc/xestream.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 6f5c7b401122..5a391a6ec792 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -1051,7 +1051,8 @@ ScDocShell* XclExpXmlStream::getDocShell() return 0; } -bool XclExpXmlStream::exportDocument() throw(std::exception) +bool XclExpXmlStream::exportDocument() + throw (css::uno::RuntimeException, std::exception) { ScDocShell* pShell = getDocShell(); ScDocument* pDoc = pShell->GetDocument(); diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx index 3d36c0499fd0..13a225b9a735 100644 --- a/sc/source/filter/inc/xestream.hxx +++ b/sc/source/filter/inc/xestream.hxx @@ -318,7 +318,8 @@ public: OUString* pRelationshipId = NULL ); // ignore - virtual bool exportDocument() throw (std::exception) SAL_OVERRIDE; + virtual bool exportDocument() + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // only needed for import; ignore virtual bool importDocument() throw() SAL_OVERRIDE; |