[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - sc/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 18 10:06:36 UTC 2019


 sc/source/ui/Accessibility/AccessibleDocument.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4d285cd1dd8155ca41e5f3b94dbe4142bff8972d
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Jul 17 12:54:05 2019 +0200
Commit:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Thu Jul 18 12:05:21 2019 +0200

    fix "tdf#119388 calc, slow removing column, improve ScChildrenShapes"
    
    forgot to add the code to actually update the map, which would be bad
    for accessibility
    
    Change-Id: I5d93dd84649ce27a37c9035622f94fff3237b778
    Reviewed-on: https://gerrit.libreoffice.org/75773
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit aab10bb21f230a0d0d6acf59ccab50dd3c2c3d0a)
    Reviewed-on: https://gerrit.libreoffice.org/75819

diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index f293dbe95928..e909c5f3a2be 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -1181,6 +1181,7 @@ void ScChildrenShapes::AddShape(const uno::Reference<drawing::XShape>& xShape, b
         ScAccessibleShapeData* pShape = new ScAccessibleShapeData();
         pShape->xShape = xShape;
         SortedShapes::iterator aNewItr = maZOrderedShapes.insert(aFindItr, pShape);
+        maShapesMap[xShape] = pShape;
         SetAnchor(xShape, pShape);
 
         uno::Reference< beans::XPropertySet > xShapeProp(xShape, uno::UNO_QUERY);


More information about the Libreoffice-commits mailing list