summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scannotationobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scannotationobj.cxx')
-rw-r--r--sc/qa/extras/scannotationobj.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/qa/extras/scannotationobj.cxx b/sc/qa/extras/scannotationobj.cxx
index 7d6d10890c12..bbd0f60493fb 100644
--- a/sc/qa/extras/scannotationobj.cxx
+++ b/sc/qa/extras/scannotationobj.cxx
@@ -8,6 +8,7 @@
*/
#include <test/calc_unoapi_test.hxx>
+#include <test/container/xchild.hxx>
#include <test/sheet/xsheetannotation.hxx>
#include <test/sheet/xsheetannotationshapesupplier.hxx>
@@ -26,7 +27,9 @@ using namespace css::uno;
namespace sc_apitest {
-class ScAnnontationObj : public CalcUnoApiTest, public apitest::XSheetAnnotation, public apitest::XSheetAnnotationShapeSupplier
+class ScAnnontationObj : public CalcUnoApiTest, public apitest::XSheetAnnotation,
+ public apitest::XSheetAnnotationShapeSupplier,
+ public apitest::XChild
{
public:
ScAnnontationObj();
@@ -39,6 +42,9 @@ public:
CPPUNIT_TEST_SUITE(ScAnnontationObj);
+ // XChild
+ CPPUNIT_TEST(testGetSetParent);
+
// XSheetAnnotation
CPPUNIT_TEST(testGetPosition);
CPPUNIT_TEST(testGetAuthor);