summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
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 /sc/source/ui/docshell/docsh.cxx
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>
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r--sc/source/ui/docshell/docsh.cxx1
1 files changed, 0 insertions, 1 deletions
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);