sw/qa/extras/ooxmlexport/ooxmlexport9.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 6b8e3ab384efb0e8a1d2f49eb8e5b306ceb640bc Author: Caolán McNamara <caol...@redhat.com> Date: Sun Aug 27 13:40:51 2017 +0100 coverity#1416886 Unchecked dynamic_cast Change-Id: I5a6a4ec99449d70d2dd812cf5520900e4d0d3d14 Reviewed-on: https://gerrit.libreoffice.org/41603 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx index f381de9c9032..ba35ee12fdc8 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx @@ -1000,6 +1000,7 @@ DECLARE_OOXMLEXPORT_TEST(testWatermarkLayer, "watermark-layer.docx") // Watermark was not visible if page background was set. SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get()); + CPPUNIT_ASSERT(pTextDoc); SdrPage* pPage = pTextDoc->GetDocShell()->GetDoc()->getIDocumentDrawModelAccess().GetDrawModel()->GetPage(0); SdrObject* pObject = pPage->GetObj(0);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits