Kaydet (Commit) 67f5012d authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1038332 Uncaught exception

Change-Id: I02d8a2ab6821922c318d4b83a1381b65d8521e1e
üst 23b530d3
...@@ -1051,7 +1051,9 @@ ScDocShell* XclExpXmlStream::getDocShell() ...@@ -1051,7 +1051,9 @@ ScDocShell* XclExpXmlStream::getDocShell()
} }
bool XclExpXmlStream::exportDocument() bool XclExpXmlStream::exportDocument()
throw (css::uno::RuntimeException, std::exception) throw (css::uno::RuntimeException,
css::ucb::ContentCreationException,
std::exception)
{ {
ScDocShell* pShell = getDocShell(); ScDocShell* pShell = getDocShell();
ScDocument& rDoc = pShell->GetDocument(); ScDocument& rDoc = pShell->GetDocument();
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#define INCLUDED_SC_SOURCE_FILTER_INC_XESTREAM_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_XESTREAM_HXX
#include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/ucb/ContentCreationException.hpp>
#include <map> #include <map>
#include <stack> #include <stack>
...@@ -320,7 +321,9 @@ public: ...@@ -320,7 +321,9 @@ public:
// ignore // ignore
virtual bool exportDocument() virtual bool exportDocument()
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; throw (css::uno::RuntimeException,
css::ucb::ContentCreationException,
std::exception) SAL_OVERRIDE;
// only needed for import; ignore // only needed for import; ignore
virtual bool importDocument() throw() SAL_OVERRIDE; virtual bool importDocument() throw() SAL_OVERRIDE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment