sd/source/core/drawdoc2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d942ca79f2dff3daceb6ac5a4e33ebb732351907 Author: Mohit Marathe <[email protected]> AuthorDate: Tue Dec 16 19:23:14 2025 +0530 Commit: Mohit Marathe <[email protected]> CommitDate: Wed Dec 17 13:12:59 2025 +0100 sd: do not call updatePagePreviewsGrid for notes page Signed-off-by: Mohit Marathe <[email protected]> Change-Id: Ia50627ee3df36f4b1843109a0a62426ed7f3cdd4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195718 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx index 199816b574ed..c83e10bcd85a 100644 --- a/sd/source/core/drawdoc2.cxx +++ b/sd/source/core/drawdoc2.cxx @@ -536,7 +536,7 @@ rtl::Reference<SdrPage> SdDrawDocument::RemovePage(sal_uInt16 nPgNum) SfxLokHelper::notifyDocumentSizeChangedAllViews(pDoc); } - if (HasCanvasPage() && !mbDestroying) + if (HasCanvasPage() && pSdPage->GetPageKind() == PageKind::Standard && !mbDestroying) { updatePagePreviewsGrid(pSdPage); }
