Makes no sense why we'd have to use StrData here...

This commit is contained in:
Kohei Yoshida 2012-02-03 12:46:04 -05:00
parent 3f80695906
commit 563c3c69be

View file

@ -2642,8 +2642,7 @@ Reference< XDataPilotField > SAL_CALL ScDataPilotFieldObj::createNameGroup( cons
{
const ScDPSaveGroupItem* pBaseGroup = pBaseGroupDim->GetGroupByIndex( nGroup );
StrData aStrData( pBaseGroup->GetGroupName() );
if ( !HasString(rItems, aStrData.GetString()) ) //! ignore case?
if (!HasString(rItems, pBaseGroup->GetGroupName())) //! ignore case?
{
// add an additional group for each item that is not in the selection
ScDPSaveGroupItem aGroup( pBaseGroup->GetGroupName() );