sd/source/ui/unoidl/unomodel.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 270ad08ff5732eba30a611ff6775eaf58259b5ae Author: Thomas Arnhold <tho...@arnhold.org> Date: Tue Feb 26 15:08:35 2013 +0100
clarify the duplicate Change-Id: I5d4a64a7d7effc49f982ad33fa6a535d99863f96 Reviewed-on: https://gerrit.libreoffice.org/2404 Reviewed-by: Thomas Arnhold <tho...@arnhold.org> Tested-by: Thomas Arnhold <tho...@arnhold.org> diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 56fe815..fbd341a 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -2736,6 +2736,7 @@ void SAL_CALL SdMasterPagesAccess::remove( const uno::Reference< drawing::XDrawP rDoc.AddUndo(rDoc.GetSdrUndoFactory().CreateUndoDeletePage(*pPage)); } + // remove both pages rDoc.RemoveMasterPage( nPage ); rDoc.RemoveMasterPage( nPage ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits