diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-05-22 17:00:02 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-05-22 17:27:46 +0200 |
commit | db7e849d17e16a062942c08e28caba71c31e9d1c (patch) | |
tree | 3d17631ff027c52a094f14f30341e6bd47366ed9 | |
parent | 476316bfc9dd36c0613327c20822a193b5ca8d9b (diff) |
better check for testcase failure
Change-Id: Ie9a41292bd90919355991a187f17eb810dfc4dc1
-rw-r--r-- | sw/qa/extras/ooxmltok/ooxmltok.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmltok/ooxmltok.cxx b/sw/qa/extras/ooxmltok/ooxmltok.cxx index c822bf4c7283..b7ef2c63592e 100644 --- a/sw/qa/extras/ooxmltok/ooxmltok.cxx +++ b/sw/qa/extras/ooxmltok/ooxmltok.cxx @@ -255,6 +255,7 @@ xray graphic.Size uno::Reference<text::XTextDocument> textDocument(mxComponent, uno::UNO_QUERY); uno::Reference<drawing::XDrawPageSupplier> drawPageSupplier(textDocument, uno::UNO_QUERY); uno::Reference<drawing::XDrawPage> drawPage = drawPageSupplier->getDrawPage(); + CPPUNIT_ASSERT_EQUAL( 1, drawPage->getCount()); uno::Reference<drawing::XShape> image; drawPage->getByIndex(0) >>= image; uno::Reference<beans::XPropertySet> imageProperties(image, uno::UNO_QUERY); |