From 2b32042294a497f9e387348faf20fcdcb0c0fd7a Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 18 Oct 2016 17:51:02 -0400 Subject: tdf#93894: These assumptions no longer hold. Since we've switched to not grouping formulas with column / row labels. Change-Id: I0097a5103b5dfaa5b021ee76545beb9f24ac7bd3 --- sc/qa/unit/subsequent_filters-test.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sc/qa') diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 8088e71519bb..bc82fb98dc9b 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -3449,15 +3449,6 @@ void ScFiltersTest::testSharedFormulaColumnLabelsODS() ScDocument& rDoc = xDocSh->GetDocument(); rDoc.CalcAll(); - // Cells C2, D2 and E2 all should contain formula groups of length 5. - for (SCCOL i = 2; i <= 4; ++i) - { - const ScFormulaCell* pCell = rDoc.GetFormulaCell(ScAddress(i,1,0)); - CPPUNIT_ASSERT(pCell); - CPPUNIT_ASSERT(pCell->IsSharedTop()); - CPPUNIT_ASSERT_EQUAL(static_cast(5), pCell->GetSharedLength()); - } - CPPUNIT_ASSERT_EQUAL( 5.0, rDoc.GetValue(ScAddress(2,1,0))); CPPUNIT_ASSERT_EQUAL(15.0, rDoc.GetValue(ScAddress(2,2,0))); CPPUNIT_ASSERT_EQUAL(30.0, rDoc.GetValue(ScAddress(2,3,0))); -- cgit v1.2.3