diff options
-rw-r--r-- | qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv | 1 | ||||
-rw-r--r-- | sc/qa/extras/scannotationshapeobj.cxx | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv index c65940379cc2..3a76ca37b9f5 100644 --- a/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv +++ b/qadevOOo/objdsc/sc/com.sun.star.comp.office.ScAnnotationShapeObj.csv @@ -86,7 +86,6 @@ "ScAnnotationShapeObj";"com::sun::star::style::CharacterPropertiesComplex#optional";"CharFontPitchComplex" "ScAnnotationShapeObj";"com::sun::star::style::CharacterPropertiesComplex#optional";"CharPostureComplex" "ScAnnotationShapeObj";"com::sun::star::style::CharacterPropertiesComplex#optional";"CharLocaleComplex" -"ScAnnotationShapeObj";"com::sun::star::drawing::XShapeDescriptor";"getShapeType()" "ScAnnotationShapeObj";"com::sun::star::drawing::RotationDescriptor";"RotateAngle" "ScAnnotationShapeObj";"com::sun::star::drawing::RotationDescriptor";"ShearAngle#optional" "ScAnnotationShapeObj";"com::sun::star::drawing::LineProperties";"LineStyle" diff --git a/sc/qa/extras/scannotationshapeobj.cxx b/sc/qa/extras/scannotationshapeobj.cxx index 5cf3fc927464..48f97b1be887 100644 --- a/sc/qa/extras/scannotationshapeobj.cxx +++ b/sc/qa/extras/scannotationshapeobj.cxx @@ -10,6 +10,7 @@ #include <test/calc_unoapi_test.hxx> #include <test/drawing/captionshape.hxx> #include <test/drawing/xshape.hxx> +#include <test/drawing/xshapedescriptor.hxx> #include <test/text/xtext.hxx> #include <com/sun/star/container/XIndexAccess.hpp> @@ -36,6 +37,7 @@ namespace sc_apitest class ScAnnotationShapeObj : public CalcUnoApiTest, public apitest::CaptionShape, public apitest::XShape, + public apitest::XShapeDescriptor, public apitest::XText { public: @@ -55,6 +57,9 @@ public: CPPUNIT_TEST(testGetSetSize); CPPUNIT_TEST(testGetSetPosition); + // XShapeDescriptor + CPPUNIT_TEST(testGetShapeType); + // XText CPPUNIT_TEST(testInsertRemoveTextContent); @@ -69,6 +74,7 @@ uno::Reference<text::XTextContent> ScAnnotationShapeObj::m_xField; ScAnnotationShapeObj::ScAnnotationShapeObj() : CalcUnoApiTest("sc/qa/extras/testdocuments") + , XShapeDescriptor("com.sun.star.drawing.CaptionShape") { } |