summaryrefslogtreecommitdiff
path: root/sc/qa/unit
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-07 17:40:38 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-07 21:33:02 -0500
commit8808d77f199720be596a09084fbc36569ed2f1f1 (patch)
treecf13a63ef1db80a7e48655e6b431b8712ea2aef6 /sc/qa/unit
parenta468e0cb567ef84d238cc0b1a5ad265825a54f02 (diff)
Changed data storage structure in ScQueryEntry.
This required a whole bunch of chnages all over the place.
Diffstat (limited to 'sc/qa/unit')
-rw-r--r--sc/qa/unit/ucalc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index a7770b565f7e..0f1fed515a8b 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -1178,7 +1178,7 @@ void Test::testDataPilotFilters()
ScQueryEntry& rEntry = aQueryParam.GetEntry(0);
rEntry.bDoQuery = true;
rEntry.nField = 1; // Group1
- rEntry.nVal = 1;
+ rEntry.GetQueryItem().mfVal = 1;
aDesc.SetQueryParam(aQueryParam);
pDPObj->SetSheetDesc(aDesc);
pDPObj->Output(aOutRange.aStart);
@@ -2229,7 +2229,7 @@ void Test::testAutofilter()
ScQueryEntry& aEntry = aParam.GetEntry(0);
aEntry.bDoQuery = true;
aEntry.eOp = SC_EQUAL;
- aEntry.nVal = 0;
+ aEntry.GetQueryItem().mfVal = 0;
//add queryParam to autofilter
pDBData->SetQueryParam(aParam);
//perform the query