[Libreoffice-commits] core.git: sd/source
Jim Raykowski (via logerrit)
logerrit at kemper.freedesktop.org
Sun Oct 13 08:03:53 UTC 2019
sd/source/ui/unoidl/unomodel.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9f5d2305437fd2bb2a6ff00247e8d4d4736f6433
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sun Oct 13 09:10:29 2019 +0200
Commit: Jim Raykowski <raykowj at gmail.com>
CommitDate: Sun Oct 13 10:03:18 2019 +0200
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 at gmail.com>
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
More information about the Libreoffice-commits
mailing list