summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-03 12:46:04 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-04 00:25:50 -0500
commit563c3c69bec3f5a82d13abfef025e21a26168171 (patch)
treeac63eabf4612a5006cdb6f35015f5431673b91c8 /sc
parent3f80695906fd4d9af0ff7126a6b0b12461268694 (diff)
Makes no sense why we'd have to use StrData here...
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 6da91c22b018..15e9fecedd91 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -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() );