summaryrefslogtreecommitdiff
path: root/sc/qa/unit/subsequent_filters-test.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-02-27 18:35:35 +0100
committerMichael Stahl <mstahl@redhat.com>2015-02-27 19:33:07 +0100
commit5f444791fbae38ad69a0497a074e2411da8cbb0f (patch)
treeeab2fb96d71c532fdd119aa07f50a9de183d9046 /sc/qa/unit/subsequent_filters-test.cxx
parenta0a1a752cd08b54d3b12c74826882c734fc9c2be (diff)
sc: ScFiltersTest::testOptimalHeightReset() check DeleteContents success
Change-Id: I79a330c8fec2f2a47c7a348c911df5b45913b239
Diffstat (limited to 'sc/qa/unit/subsequent_filters-test.cxx')
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index ba48b129aca5..7e96929d1137 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -2431,7 +2431,8 @@ void ScFiltersTest::testOptimalHeightReset()
ScRange aDelRange(0,0,0,0,0,0);
ScMarkData aMark;
aMark.SetMarkArea(aDelRange);
- rFunc.DeleteContents( aMark, IDF_ALL, false, true );
+ bool bRet = rFunc.DeleteContents( aMark, IDF_ALL, false, true );
+ CPPUNIT_ASSERT_MESSAGE("DeleteContents failed", bRet);
// get the new height of A1
nHeight = sc::TwipsToHMM( rDoc.GetRowHeight(nRow, nTab, false) );