summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scannotationshapeobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scannotationshapeobj.cxx')
-rw-r--r--sc/qa/extras/scannotationshapeobj.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/qa/extras/scannotationshapeobj.cxx b/sc/qa/extras/scannotationshapeobj.cxx
index 6b18077e86c0..805fe1f940a4 100644
--- a/sc/qa/extras/scannotationshapeobj.cxx
+++ b/sc/qa/extras/scannotationshapeobj.cxx
@@ -58,7 +58,8 @@ ScAnnotationShapeObj::ScAnnotationShapeObj()
void ScAnnotationShapeObj::setUp()
{
- ++nTest;
+ nTest++;
+ CPPUNIT_ASSERT(nTest <= NUMBER_OF_TESTS);
CalcUnoApiTest::setUp();
}