summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/excel.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-03 13:48:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-03 16:42:42 +0200
commit98553da6b8bc0e8038310f82213f4cf9d47005db (patch)
tree094eb557fa1d46b8f9df1cc95c18686740f02b38 /sc/source/filter/excel/excel.cxx
parent3be1d4858db23c44de63f788a633be3a9bcf92a7 (diff)
ofz#7334 catch mdds exception
Change-Id: I4c52b07893f60765d730267c3becbfe5d2ada6ae Reviewed-on: https://gerrit.libreoffice.org/52322 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/filter/excel/excel.cxx')
-rw-r--r--sc/source/filter/excel/excel.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/filter/excel/excel.cxx b/sc/source/filter/excel/excel.cxx
index ca7983a21891..cd09f365b844 100644
--- a/sc/source/filter/excel/excel.cxx
+++ b/sc/source/filter/excel/excel.cxx
@@ -262,7 +262,10 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportXLS(SvStream& rStream)
{
bRet = ScFormatFilter::Get().ScImportExcel(aMedium, &rDoc, EIF_AUTO) == ERRCODE_NONE;
}
- catch (const css::ucb::ContentCreationException &)
+ catch (const css::ucb::ContentCreationException&)
+ {
+ }
+ catch (const std::out_of_range&)
{
}
xDocShell->DoClose();