summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 10:23:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-31 11:19:10 +0100
commit43155517de4670c35b98fb4df5f94217685f8d70 (patch)
tree60f2e2cf50f4eee6f68141145b2a79688e1ad664 /sc
parente826950e9d7736a6e3f9042755ba1b528f58a505 (diff)
coverity#1194940 Uncaught exception
Change-Id: Ibb1b15604e5129c48ca8be4af24dbcfd908ded2f
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestream.cxx2
-rw-r--r--sc/source/filter/inc/xestream.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index e30a39a2dd6e..d5bf89d0c0b5 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -1056,7 +1056,7 @@ ScDocShell* XclExpXmlStream::getDocShell()
return 0;
}
-bool XclExpXmlStream::exportDocument() throw()
+bool XclExpXmlStream::exportDocument() throw(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 2d1d3aed0e9f..2ccc15ee8405 100644
--- a/sc/source/filter/inc/xestream.hxx
+++ b/sc/source/filter/inc/xestream.hxx
@@ -324,7 +324,7 @@ public:
OUString* pRelationshipId = NULL );
// ignore
- virtual bool exportDocument() throw() SAL_OVERRIDE;
+ virtual bool exportDocument() throw (std::exception) SAL_OVERRIDE;
// only needed for import; ignore
virtual bool importDocument() throw() SAL_OVERRIDE;