summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/filtergrouping.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/filtergrouping.cxx')
-rw-r--r--sfx2/source/dialog/filtergrouping.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx
index ff86a2d8e6b6..33948a46d0df 100644
--- a/sfx2/source/dialog/filtergrouping.cxx
+++ b/sfx2/source/dialog/filtergrouping.cxx
@@ -621,8 +621,6 @@ namespace sfx2
if ( aServiceName != aCurrentServiceName )
{ // we reached a new group
- OUString sDocServName = aServiceName;
-
// look for the place in _rAllFilters where this ne group belongs - this is determined
// by the order of classes in aGlobalClassNames
GroupedFilterList::iterator aGroupPos = _rAllFilters.begin();
@@ -633,7 +631,7 @@ namespace sfx2
StringArray::iterator aGlobalIter = aGlobalClassNames.begin();
while ( ( aGroupPos != _rAllFilters.end() )
&& ( aGlobalIter != aGlobalClassNames.end() )
- && ( *aGlobalIter != sDocServName )
+ && ( *aGlobalIter != aServiceName )
)
{
++aGlobalIter;