summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-18 11:41:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-18 22:00:04 +0100
commit2caec93c4ac13d6bb691c50cc36c5150f21d6364 (patch)
tree90e37ff39dcc183e51feaa5e0b5ddf42f6a74d9d
parentwe now get a solver lib even without lpsolve or coinmp (diff)
downloadcore-2caec93c4ac13d6bb691c50cc36c5150f21d6364.tar.gz
core-2caec93c4ac13d6bb691c50cc36c5150f21d6364.zip
ofz#4306 init draw layer
Change-Id: I2a8bfa72e7e83ec86301cbfb952235e6b984b363 Reviewed-on: https://gerrit.libreoffice.org/44906 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/filter/excel/excel.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/excel/excel.cxx b/sc/source/filter/excel/excel.cxx
index 2b5df5c4fc97..1954b02035be 100644
--- a/sc/source/filter/excel/excel.cxx
+++ b/sc/source/filter/excel/excel.cxx
@@ -293,6 +293,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportDIF(SvStream &rStream)
aDocument.SetDocOptions(aDocOpt);
aDocument.MakeTable(0);
aDocument.EnableExecuteLink(false);
+ aDocument.InitDrawLayer(nullptr);
return ScFormatFilter::Get().ScImportDif(rStream, &aDocument, ScAddress(0, 0, 0), RTL_TEXTENCODING_IBM_850) == ERRCODE_NONE;
}