diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-12-02 18:53:18 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-12-03 20:15:01 +0100 |
commit | 377bc06165f4a5cad8f67d69e021c51cb2a64180 (patch) | |
tree | d6d61e3f61b136e2623909c1167ec018d7c3a276 | |
parent | f131ccd53bd93495855d571ecbcf00aa79b4d9b3 (diff) |
add test for removing sheets to testPostIt
fixes also the problem that one sheet has not been deleted
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 0808c3500af3..d6d9484f32b0 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -2466,6 +2466,10 @@ void Test::testPostIts() CPPUNIT_ASSERT_MESSAGE("note not there", m_pDoc->GetNote(rAddr) == pNote); m_pDoc->DeleteTab(0); + rAddr.IncTab(-1); + CPPUNIT_ASSERT_MESSAGE("note not there", m_pDoc->GetNote(rAddr) == pNote); + + m_pDoc->DeleteTab(0); } void Test::testToggleRefFlag() |