diff options
author | Jim Raykowski <raykowj@gmail.com> | 2019-10-13 09:10:29 +0200 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2019-10-13 10:03:18 +0200 |
commit | 9f5d2305437fd2bb2a6ff00247e8d4d4736f6433 (patch) | |
tree | cdadb93d9ee91841d9c0455d76eaa01428e2493e /sd | |
parent | fae4f1506fc481b8dc2977d3bf9363dd8eaf4945 (diff) |
Revert "tdf#127164 Don't add SdrUndoDelPage undos during pptx save"
Wont work because it will disable undo during any scripts that luck/unlock documents for their duration
This reverts commit fae4f1506fc481b8dc2977d3bf9363dd8eaf4945.
Change-Id: I447560c9200d381ea93e2275abd57f91c5acc819
Reviewed-on: https://gerrit.libreoffice.org/80725
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 5ce14c618a65..c7f8113a0513 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -2938,7 +2938,7 @@ void SAL_CALL SdDrawPagesAccess::remove( const uno::Reference< drawing::XDrawPag SdPage* pNotesPage = static_cast< SdPage* >( rDoc.GetPage( nPage+1 ) ); - bool bUndo = rDoc.IsUndoEnabled() && !rDoc.isLocked(); + bool bUndo = rDoc.IsUndoEnabled(); if( bUndo ) { // Add undo actions and delete the pages. The order of adding |