diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-08-26 11:43:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-08-26 14:06:43 +0200 |
commit | 8ae94bafbb7405df093cfe13ebe61c0e61ea5556 (patch) | |
tree | fdb82861828f41ca6aed5c3c78c88d892ae0d0fe /sd/qa/unit | |
parent | 46ac3dd4f3e7860d9701ff3aac12de13c243ec1d (diff) |
-Werror=maybe-uninitialized
Change-Id: I47d3a9327a88a75390f8bb18dfbf632ed97cac7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121084
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/qa/unit')
-rw-r--r-- | sd/qa/unit/export-tests-ooxml1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |