sd/source/ui/annotations/annotationmanager.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit f7e405cfa797bba4f0c0b62e3d3739bb62071aba Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Tue Oct 22 14:44:06 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Oct 23 07:47:18 2024 +0200 tdf#162245 Insert->Comment in Draw/Impress not incrementally numbered fix numbering. regression from commit e17c56bfc7930d3c14c3ff4cfd59828e8dcc0229 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Thu Jun 6 10:52:35 2024 +0900 annot: new Annotation sdr object, replacing annotation tags Change-Id: I7f649346422886ab2e27a06b03b359ab395ec4e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175411 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index ad88bff0ca6e..e2e5977a7e1e 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -1011,7 +1011,10 @@ void AnnotationManagerImpl::SyncAnnotationObjects() SdrObject* pObject = xAnnotation->findAnnotationObject(); if (pObject) + { + nIndex++; continue; + } if (!bAnnotatonInserted && mpDoc->IsUndoEnabled()) mpDoc->BegUndo(SdResId(STR_ANNOTATION_UNDO_INSERT));