diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2016-09-29 05:24:22 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2016-10-05 06:03:41 +0200 |
commit | 7e1fd9aa86ab8d5e86f35df8615f438a3383af98 (patch) | |
tree | 0e30a7ef68c0be7738659b81889b699bb0b0cbaf /sc/qa | |
parent | Test XLSX import of number groups (diff) | |
download | core-7e1fd9aa86ab8d5e86f35df8615f438a3383af98.tar.gz core-7e1fd9aa86ab8d5e86f35df8615f438a3383af98.zip |
Pivot tables: Fix wrong group field number in cache
getCache should not append new group fields to the cache,
but use those which are stored in the dimension data.
Change-Id: I2011b0d3a22644a86c31500d74469b9c4c641649
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/subsequent_filters-test.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 63bafd2921f4..0b17d4c1a58b 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -2104,9 +2104,7 @@ void ScFiltersTest::testPivotTableSharedGroupXLSX() const ScDPCache* pCache = rSheetCaches.getExistingCache(ScRange(0,0,1,13,18,1)); CPPUNIT_ASSERT_MESSAGE("Pivot cache is expected for A1:N19 on the second sheet.", pCache); CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(14), pCache->GetFieldCount()); - - // TODO : Look into this and find out why it fails. - // CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), pCache->GetGroupFieldCount()); + CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), pCache->GetGroupFieldCount()); xDocSh->DoClose(); } |