[Libreoffice-commits] core.git: sd/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 12 20:08:51 UTC 2018
sd/source/filter/cgm/sdcgmfilter.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 18c5089df091bddeb8c2dc339776671964389040
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Sep 12 16:23:54 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Sep 12 22:08:27 2018 +0200
ofz#9707 cgm timeout, don't store undo during load
Change-Id: I07ac959c5556fdfa1bfce7f5257be6d522ad7f4b
Reviewed-on: https://gerrit.libreoffice.org/60405
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx
index 7bd04a246b10..73e4cc9392d2 100644
--- a/sd/source/filter/cgm/sdcgmfilter.cxx
+++ b/sd/source/filter/cgm/sdcgmfilter.cxx
@@ -132,6 +132,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportCGM(SvStream &rStream)
CGMPointer aPointer;
+ xDocShRef->GetDoc()->EnableUndo(false);
bool bRet = aPointer.get()(rStream, xDocShRef->GetModel(), css::uno::Reference<css::task::XStatusIndicator>()) == 0;
xDocShRef->DoClose();
More information about the Libreoffice-commits
mailing list