sd/source/filter/cgm/sdcgmfilter.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 18c5089df091bddeb8c2dc339776671964389040
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Sep 12 16:23:54 2018 +0100
Commit:     Caolán McNamara <[email protected]>
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 <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

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();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to