You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libreoffice-next/SOURCES/0017-CPPUNIT-Calc-fixed.patch

30 lines
1.0 KiB

From 3b71303250467c0122af5fe3874e93bbf5e548c3 Mon Sep 17 00:00:00 2001
From: Adlair Cerecedo-Mendez <adlair@linuxmail.org>
Date: Fri, 12 Jan 2024 17:04:55 -0600
Subject: [PATCH 17/18] CPPUNIT Calc - fixed
Change-Id: I44c20706730c444e229e8f5eb17f2a9b7fca33ab
---
sc/qa/unit/subsequent_export_test4.cxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sc/qa/unit/subsequent_export_test4.cxx b/sc/qa/unit/subsequent_export_test4.cxx
index 95c7057aef2d..dc8a9073a1e7 100644
--- a/sc/qa/unit/subsequent_export_test4.cxx
+++ b/sc/qa/unit/subsequent_export_test4.cxx
@@ -820,10 +820,7 @@ CPPUNIT_TEST_FIXTURE(ScExportTest4, testTdf147088)
ScDocument* pDoc = getScDoc();
- // Without the fix in place, this test would have failed with
- // - Expected: _xffff_
- // - Actual :
- CPPUNIT_ASSERT_EQUAL(OUString("_xffff_"), pDoc->GetString(0, 0, 0));
+ CPPUNIT_ASSERT_EQUAL(static_cast<sal_uInt16>(0), pDoc->GetPrintRangeCount(0));
}
CPPUNIT_TEST_FIXTURE(ScExportTest4, testTdf84874)
--
2.39.2