[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 16 06:07:04 UTC 2019


 sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b0f3f3094cb3944945dcd59e7fd44f7fe0b433b7
Author:     Arkadiy Illarionov <qarkai at gmail.com>
AuthorDate: Wed Jan 16 00:56:04 2019 +0300
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Jan 16 07:06:36 2019 +0100

    Fix iterator boundary
    
    Change-Id: I81366dd7f08cf50eb289e742b3923f343ce10f80
    Reviewed-on: https://gerrit.libreoffice.org/66409
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
index 8fe872f73da4..6b8e825c7ac3 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
@@ -713,7 +713,7 @@ void ScShapeChildren::FindChanged(ScShapeChildVec& rOld, ScShapeChildVec& rNew)
     ScShapeChildVec::iterator aOldItr = rOld.begin();
     ScShapeChildVec::iterator aOldEnd = rOld.end();
     ScShapeChildVec::const_iterator aNewItr = rNew.begin();
-    ScShapeChildVec::const_iterator aNewEnd = rNew.begin();
+    ScShapeChildVec::const_iterator aNewEnd = rNew.end();
     uno::Reference<XAccessible> xAcc;
     while ((aNewItr != aNewEnd) && (aOldItr != aOldEnd))
     {


More information about the Libreoffice-commits mailing list