sc/source/filter/qpro/qpro.cxx  |    1 -
 sc/source/ui/docshell/docsh.cxx |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 20c881bf89048ad19c1d108f7e89d1b9d94f5aba
Author: Caolán McNamara <caol...@redhat.com>
Date:   Wed Feb 14 11:30:24 2018 +0000

    ofz#6316 Direct-leak
    
    Change-Id: I1ae33f849d252e9682b7386909023821cf336b14
    Reviewed-on: https://gerrit.libreoffice.org/49711
    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/qpro/qpro.cxx b/sc/source/filter/qpro/qpro.cxx
index 71c04172437c..e1b172ea53a4 100644
--- a/sc/source/filter/qpro/qpro.cxx
+++ b/sc/source/filter/qpro/qpro.cxx
@@ -245,7 +245,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportQPW(SvStream 
&rStream)
     aDocument.EnableExecuteLink(false);
     aDocument.SetInsertingFromOtherDoc(true);
     aDocument.SetImportingXML(true);
-    aDocument.EnableUndo(false);
 
     ScQProReader aReader(&rStream);
     ErrCode eRet = aReader.parse(&aDocument);
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index f794bf89e98d..8d1117af8d48 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -3263,7 +3263,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool 
TestImportSLK(SvStream &rStream)
     aDocument.EnableExecuteLink(false);
     aDocument.SetInsertingFromOtherDoc(true);
     aDocument.SetImportingXML(true);
-    aDocument.EnableUndo(false);
 
     ScImportExport aImpEx(&aDocument);
     return aImpEx.ImportStream(rStream, OUString(), 
SotClipboardFormatId::SYLK);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to