diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-02-28 16:06:09 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-01 10:48:13 +0100 |
commit | 0156eba76667fe1b0ed4355272fa77f98f9f63a4 (patch) | |
tree | e46f27cc49542c0b26253c2918b4790a9989a74e /sc/qa/unit | |
parent | da77aec27e3121c895a6c6c287225216489cc8bc (diff) |
make Calc jumbo sheets an explicit build feature
On 32bit platforms tools::Long is 32bit, which is not enough
for pixel coordinates with 1m+ Calc rows+. So do not allow jumbo
sheets for such platforms.
Change-Id: I2ebd56a051470d33fca967918af3e7d2b0172dc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130713
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/qa/unit')
-rw-r--r-- | sc/qa/unit/jumbosheets-test.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/qa/unit/jumbosheets-test.cxx b/sc/qa/unit/jumbosheets-test.cxx index e0dd7e87c98b..76f223564b9a 100644 --- a/sc/qa/unit/jumbosheets-test.cxx +++ b/sc/qa/unit/jumbosheets-test.cxx @@ -261,13 +261,10 @@ void ScJumboSheetsTest::testTdf134553() CPPUNIT_ASSERT_EQUAL(tools::Long(12741), pOleObj->GetLogicRect().getWidth()); CPPUNIT_ASSERT_EQUAL(tools::Long(7620), pOleObj->GetLogicRect().getHeight()); CPPUNIT_ASSERT_EQUAL(tools::Long(5097), pOleObj->GetLogicRect().getX()); - -#if !defined(_WIN32) //FIXME // tdf#147458: Without the fix in place, this test would have failed with // - Expected: 1058 // - Actual : -7421 CPPUNIT_ASSERT_EQUAL(tools::Long(1058), pOleObj->GetLogicRect().getY()); -#endif xDocSh->DoClose(); } |