diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-08-27 13:43:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-08-27 21:43:05 +0200 |
commit | 7e134b66ec74f53be52b3c2e371b5bb8ca0d3dfd (patch) | |
tree | 7ac33428fa5d3e4be7bd8546fb4364cde3100870 /sw/qa | |
parent | 6b8e3ab384efb0e8a1d2f49eb8e5b306ceb640bc (diff) |
coverity#1416883 Useless call
Change-Id: Icf2dae3e69a84368a69f954276286483e3714aa0
Reviewed-on: https://gerrit.libreoffice.org/41605
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport9.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx index ba35ee12fdc8..2efa7f189d0e 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx @@ -951,12 +951,12 @@ DECLARE_OOXMLEXPORT_TEST(testTdf111964, "tdf111964.docx") DECLARE_OOXMLEXPORT_TEST(testWatermark, "watermark-shapetype.docx") { uno::Reference<drawing::XShape> xShape1(getShape(1), uno::UNO_QUERY); + CPPUNIT_ASSERT(xShape1.is()); uno::Reference<beans::XPropertySet> xPropertySet1(xShape1, uno::UNO_QUERY); - xShape1.is(); uno::Reference<drawing::XShape> xShape2(getShape(2), uno::UNO_QUERY); + CPPUNIT_ASSERT(xShape2.is()); uno::Reference<beans::XPropertySet> xPropertySet2(xShape2, uno::UNO_QUERY); - xShape2.is(); CPPUNIT_ASSERT_EQUAL(xPropertySet1->getPropertyValue("TextAutoGrowHeight"), xPropertySet2->getPropertyValue("TextAutoGrowHeight")); } |