diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-12 16:23:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-12 22:08:27 +0200 |
commit | 18c5089df091bddeb8c2dc339776671964389040 (patch) | |
tree | 6a58d62559efd686b54f23cdf3771856a69c2f41 /sd | |
parent | 8d5779bef3cb36f0db6f61b6a9f711796d487d9d (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/cgm/sdcgmfilter.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |