summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-03 20:18:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-04 09:38:12 +0100
commita7e6f6d17117482d699b2d230841997156828e1a (patch)
tree157034edad6fb54c90aa016320a7549cd8fc5c74 /sc
parent6b44b03c130ad63c50cbff34c719acb99ab500d5 (diff)
coverity#737265 Uncaught exception
Change-Id: Icb36e8e72c6d99e9a72d360382855f325886f99b
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestream.cxx3
-rw-r--r--sc/source/filter/inc/xestream.hxx3
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;