summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-14 11:30:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-02-14 16:44:25 +0100
commit20c881bf89048ad19c1d108f7e89d1b9d94f5aba (patch)
tree0c74111cc70c9621b2b10bd8c9743c8fd4ecab33
parentb05e4eab225a536c3e5bdae2ca991ee9f53ad1a6 (diff)
ofz#6316 Direct-leak
Change-Id: I1ae33f849d252e9682b7386909023821cf336b14 Reviewed-on: https://gerrit.libreoffice.org/49711 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/qpro/qpro.cxx1
-rw-r--r--sc/source/ui/docshell/docsh.cxx1
2 files changed, 0 insertions, 2 deletions
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);