diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-01-11 17:17:27 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-01-11 17:27:52 +0100 |
commit | aa1ee198b5b55d0a92418eb3294c93553e8513dd (patch) | |
tree | d0717aeea025ef5a272c5b21e3776bf5ff4cd2b6 /writerperfect/Library_wpftqahelper.mk | |
parent | 4ff1b3589076f66c3d783c3ea6c5f1fd9b9337ed (diff) |
tdf#105182 sd: avoid iterating too far in SdOutliner::Initialize()
Considering the valid indexes are extended by "-1" for backwards
iterators and "size()" for forward iterators, it's obvious that a
not-yet-at-the-end-in-the-other-direction iterator can be incremented
once, but not necessarily twice.
Why this code even wants to increment it twice isn't obvious to me.
Change-Id: I578c8c6202049ebe6dbed41b8276a6bfa0566bbc
Diffstat (limited to 'writerperfect/Library_wpftqahelper.mk')
0 files changed, 0 insertions, 0 deletions