[Libreoffice-commits] core.git: Branch 'private/swe/libreoffice-5-2+backports' - sc/qa

Thorsten Behrens Thorsten.Behrens at CIB.de
Wed Dec 6 15:54:53 UTC 2017


 sc/qa/unit/cond_format_merge.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ced0f5071106bc68a48cd15cecf19ca02bb9fda1
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Wed Dec 6 16:53:08 2017 +0100

    sc: build fix unit test
    
    Fixup for 07ea76f4997b71c514b599e7acd220f073c74ddd
    
    Change-Id: I72720ea94e190effa21e40a7f9fc72c4b0f7f760

diff --git a/sc/qa/unit/cond_format_merge.cxx b/sc/qa/unit/cond_format_merge.cxx
index 0ce3f21909bd..d6e9edaca56b 100644
--- a/sc/qa/unit/cond_format_merge.cxx
+++ b/sc/qa/unit/cond_format_merge.cxx
@@ -82,7 +82,7 @@ void ScCondFormatMergeTest::testCondFormatMerge()
         CPPUNIT_ASSERT(xCellRanges.is());
 
         uno::Sequence<table::CellRangeAddress> aRanges = xCellRanges->getRangeAddresses();
-        CPPUNIT_ASSERT_GREATEREQUAL(sal_Int32(1), aRanges.getLength());
+        CPPUNIT_ASSERT(aRanges.getLength() >= sal_Int32(1));
 
         table::CellRangeAddress aRange0 = aRanges[0];
         CPPUNIT_ASSERT_EQUAL(sal_Int16(0), aRange0.Sheet);


More information about the Libreoffice-commits mailing list