sc/source/filter/excel/excel.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2caec93c4ac13d6bb691c50cc36c5150f21d6364
Author: Caolán McNamara <caol...@redhat.com>
Date:   Sat Nov 18 11:41:52 2017 +0000

    ofz#4306 init draw layer
    
    Change-Id: I2a8bfa72e7e83ec86301cbfb952235e6b984b363
    Reviewed-on: https://gerrit.libreoffice.org/44906
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

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;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to