diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 10:06:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 11:31:09 +0000 |
commit | cff891fc44adcca745bcaa9ae95483bd63aa05ae (patch) | |
tree | c8893d00e79c899214499eb705647d4ae5908faa /sfx2 | |
parent | 6f754f4bd7223155591cfa9df05973db5116be81 (diff) |
CID#705114 (unlikely) invalid iterator
Change-Id: Ic6918da552be4905c35c5353bfb97b801e7d493c
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/filtergrouping.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 402984db4e52..2ef1cd5737eb 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -659,7 +659,9 @@ namespace sfx2 aCurrentServiceName = aServiceName; } - DBG_ASSERT( aCurrentGroup != _rAllFilters.end(), "sfx2::lcl_GroupAndClassify: invalid current group!" ); + assert(aCurrentGroup != _rAllFilters.end()); //invalid current group! + if (aCurrentGroup == _rAllFilters.end()) + aCurrentGroup == _rAllFilters.begin(); // =========================================================== // check if the filter is part of a global group |