diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-15 21:44:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-16 12:16:58 +0200 |
commit | 06579261deb53bd519bbad7c41a3ddbaeb190c81 (patch) | |
tree | 842c6a71afac580ecde04f62a8a1f593391377b2 /chart2/source/controller/main | |
parent | 3aa5656282dbc6db9ff3dd1ef9324cdf95112276 (diff) |
cid#1448300 Using invalid iterator
Change-Id: Ibf3c2f90834e40f06ee1ba55480bd1d345642059
Reviewed-on: https://gerrit.libreoffice.org/75663
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/source/controller/main')
-rw-r--r-- | chart2/source/controller/main/ObjectHierarchy.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ObjectHierarchy.cxx b/chart2/source/controller/main/ObjectHierarchy.cxx index 4444c4158b6f..2fa0e64c31c8 100644 --- a/chart2/source/controller/main/ObjectHierarchy.cxx +++ b/chart2/source/controller/main/ObjectHierarchy.cxx @@ -767,7 +767,7 @@ bool ObjectKeyNavigation::next() { ObjectHierarchy::tChildContainer::const_iterator aIt( std::find( aSiblings.begin(), aSiblings.end(), getCurrentSelection())); - OSL_ASSERT( aIt != aSiblings.end()); + assert(aIt != aSiblings.end()); if( ++aIt == aSiblings.end()) aIt = aSiblings.begin(); setCurrentSelection( *aIt ); |