Change-Id: Ia43c14665e6d1684d840da3516f69e951026c293
This commit is contained in:
Miklos Vajna
2014-06-08 12:44:56 +02:00
parent 7302770f4c
commit 81b2b92907
2 changed files with 8 additions and 0 deletions

View File

@@ -2190,6 +2190,14 @@ DECLARE_OOXMLIMPORT_TEST(testCaption, "caption.docx")
CPPUNIT_ASSERT_EQUAL(awt::FontSlant_NONE, getProperty<awt::FontSlant>(xStyle, "CharPosture"));
}
DECLARE_OOXMLIMPORT_TEST(testGroupshapeTrackedchanges, "groupshape-trackedchanges.docx")
{
uno::Reference<drawing::XShapes> xGroup(getShape(1), uno::UNO_QUERY);
uno::Reference<text::XTextRange> xShape(xGroup->getByIndex(0), uno::UNO_QUERY);
// Shape text was completely missing, ensure inserted text is available.
CPPUNIT_ASSERT_EQUAL(OUString(" Inserted"), xShape->getString());
}
#endif
CPPUNIT_PLUGIN_IMPLEMENT();