sd/qa/unit/export-tests-ooxml1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 8ae94bafbb7405df093cfe13ebe61c0e61ea5556 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Aug 26 11:43:10 2021 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Aug 26 14:06:43 2021 +0200 -Werror=maybe-uninitialized Change-Id: I47d3a9327a88a75390f8bb18dfbf632ed97cac7f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121084 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sd/qa/unit/export-tests-ooxml1.cxx b/sd/qa/unit/export-tests-ooxml1.cxx index e2a3f04d2467..9aa12ffb4a3d 100644 --- a/sd/qa/unit/export-tests-ooxml1.cxx +++ b/sd/qa/unit/export-tests-ooxml1.cxx @@ -954,10 +954,10 @@ void SdOOXMLExportTest1::testCellLeftAndRightMargin() uno::Reference< beans::XPropertySet > xCellPropSet(xCell, uno::UNO_QUERY_THROW); uno::Any aLeftMargin = xCellPropSet->getPropertyValue("TextLeftDistance"); - aLeftMargin >>= nLeftMargin ; + CPPUNIT_ASSERT(aLeftMargin >>= nLeftMargin); uno::Any aRightMargin = xCellPropSet->getPropertyValue("TextRightDistance"); - aRightMargin >>= nRightMargin ; + CPPUNIT_ASSERT(aRightMargin >>= nRightMargin); // Convert values to EMU nLeftMargin = oox::drawingml::convertHmmToEmu( nLeftMargin );