diff options
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 |