[Libreoffice-commits] core.git: sd/qa
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 26 12:07:23 UTC 2021
sd/qa/unit/export-tests-ooxml1.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8ae94bafbb7405df093cfe13ebe61c0e61ea5556
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 26 11:43:10 2021 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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 );
More information about the Libreoffice-commits
mailing list