sd/source/core/drawdoc2.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 53fb15960924b2806142994d85019c4ee8245b22
Author: Mohit Marathe <[email protected]>
AuthorDate: Mon Dec 15 12:15:20 2025 +0530
Commit: Mohit Marathe <[email protected]>
CommitDate: Tue Dec 16 07:02:38 2025 +0100
sd: update connectors when pages are shuffled using .uno:ReshufflePages
Signed-off-by: Mohit Marathe <[email protected]>
Change-Id: I1dd9d1c92298c009522d8e1c87a4d2f6918460ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195624
Reviewed-by: Michael Stahl <[email protected]>
Tested-by: Jenkins CollaboraOffice <[email protected]>
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index 48ae6029bb2d..2a2f7f7612b6 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -1618,6 +1618,9 @@ void SdDrawDocument::ReshufflePages()
MovePage(nCurrentPageNum + 1, nTargetPageNum + 1); // Notes page
}
mbSkipCanvasPreviewUpdates = false;
+
+ // update connectors
+ connectPagePreviews();
}
sal_uInt16 SdDrawDocument::GetOrInsertCanvasPage()