diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/inc/xestream.hxx | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index bedb24f55517..1595019fe3eb 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -1051,7 +1051,9 @@ ScDocShell* XclExpXmlStream::getDocShell() } bool XclExpXmlStream::exportDocument() - throw (css::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, + css::ucb::ContentCreationException, + std::exception) { ScDocShell* pShell = getDocShell(); ScDocument& rDoc = pShell->GetDocument(); diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx index ac75f7f033ce..56dc6ec4808b 100644 --- a/sc/source/filter/inc/xestream.hxx +++ b/sc/source/filter/inc/xestream.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SC_SOURCE_FILTER_INC_XESTREAM_HXX #include <com/sun/star/beans/NamedValue.hpp> +#include <com/sun/star/ucb/ContentCreationException.hpp> #include <map> #include <stack> @@ -320,7 +321,9 @@ public: // ignore 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 virtual bool importDocument() throw() SAL_OVERRIDE; |