summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-06-06 19:29:18 +0200
committerEike Rathke <erack@redhat.com>2016-06-06 20:22:12 +0000
commitf88f6bcfce233c336c9025d466c5c2fb0b671de3 (patch)
tree4985b09359bd5474ba95d2d9962af894ea2d5ed5 /sc/source/ui/unoobj
parent82f93bff42c0ce3b138ca61040c964f42632d000 (diff)
Resolves: tdf#35247 introduce a locale independent numeric field filter
... that tries to match a locale independent query string. Going via string queries is likely only necessary for the ugly alternative "fieldname[member]" syntax, if it is actually unnecessary for the field1,item1,... syntax needs to be evaluated and if so a distinct GetPivotData() function evaluating numeric contraints as well could be introduced. Change-Id: I2c1fc81c1022b0bba5eef8d86c0c815bb6e31f2d Reviewed-on: https://gerrit.libreoffice.org/25975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 32f43a3784c1..a28f0c970212 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -1512,9 +1512,9 @@ sal_Int32 ScDataPilotChildObjBase::GetMemberCount() const
return nRet;
}
-Reference< XNameAccess > ScDataPilotChildObjBase::GetMembers() const
+Reference< XMembersAccess > ScDataPilotChildObjBase::GetMembers() const
{
- Reference< XNameAccess > xMembersNA;
+ Reference< XMembersAccess > xMembersNA;
if( ScDPObject* pDPObj = GetDPObject() )
pDPObj->GetMembersNA( lcl_GetObjectIndex( pDPObj, maFieldId ), xMembersNA );
return xMembersNA;
@@ -2617,7 +2617,7 @@ Reference< XDataPilotField > SAL_CALL ScDataPilotFieldObj::createNameGroup( cons
//! localized prefix string
OUString aGroupName = pGroupDimension->CreateGroupName( "Group" );
ScDPSaveGroupItem aGroup( aGroupName );
- Reference< XNameAccess > xMembers = GetMembers();
+ Reference< XMembersAccess > xMembers = GetMembers();
if (!xMembers.is())
{
delete pNewGroupDim;