writerfilter/qa/cppunittests/dmapper/GraphicImport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit badc5a7ac8dda3c7b991c671776d2d41a5b7ea26 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Jul 23 12:17:56 2021 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Jul 23 13:13:52 2021 +0200 -Werror=maybe-uninitialized (at least with recent GCC 12 trunk and --enable-dbgutil --enable-optimized) Change-Id: Ie16260267b70c9e887c0342a09875e8d0a6a5eee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119402 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/writerfilter/qa/cppunittests/dmapper/GraphicImport.cxx b/writerfilter/qa/cppunittests/dmapper/GraphicImport.cxx index c47b33b71f5c..ffd14a4f2082 100644 --- a/writerfilter/qa/cppunittests/dmapper/GraphicImport.cxx +++ b/writerfilter/qa/cppunittests/dmapper/GraphicImport.cxx @@ -66,7 +66,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf143208wrapTight) uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(getComponent(), uno::UNO_QUERY); uno::Reference<drawing::XDrawPage> xDrawPage = xDrawPageSupplier->getDrawPage(); uno::Reference<beans::XPropertySet> xShape(xDrawPage->getByIndex(0), uno::UNO_QUERY); - bool bContourOutside; + bool bContourOutside = false; xShape->getPropertyValue("ContourOutside") >>= bContourOutside; CPPUNIT_ASSERT(bContourOutside); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits