summaryrefslogtreecommitdiff
path: root/sc/qa/unit/uicalc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-08-11 17:36:12 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-11-12 09:44:10 +0100
commit00d74a5e0291a40e532b2a0f51fdd5a3e1f487ed (patch)
treec34ba7a271768d14bd6f5535069ac203228fa476 /sc/qa/unit/uicalc
parent9871789e0f9256ac27ea7bc4590ba910d6e4c373 (diff)
Use more o3tl::convert in sc
Change-Id: I624b6c570eff8b6cdc83ffcb2d0dbadf848715b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120330 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/qa/unit/uicalc')
-rw-r--r--sc/qa/unit/uicalc/uicalc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/uicalc/uicalc.cxx b/sc/qa/unit/uicalc/uicalc.cxx
index ea44aaa3cd40..a06dd66b5117 100644
--- a/sc/qa/unit/uicalc/uicalc.cxx
+++ b/sc/qa/unit/uicalc/uicalc.cxx
@@ -1449,7 +1449,7 @@ CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testTdf136113)
SdrPage* pPage = pDrawLayer->GetPage(0);
SdrObject* pObj = pPage->GetObj(0);
- CPPUNIT_ASSERT_EQUAL(tools::Long(18159), pObj->GetSnapRect().Left());
+ CPPUNIT_ASSERT_EQUAL(tools::Long(18160), pObj->GetSnapRect().Left());
CPPUNIT_ASSERT_EQUAL(tools::Long(1709), pObj->GetSnapRect().Top());
lcl_SelectObjectByName(u"Arrow");
@@ -1459,7 +1459,7 @@ CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testTdf136113)
pModelObj->postKeyEvent(LOK_KEYEVENT_KEYUP, 0, awt::Key::UP);
Scheduler::ProcessEventsToIdle();
- CPPUNIT_ASSERT_EQUAL(tools::Long(18159), pObj->GetSnapRect().Left());
+ CPPUNIT_ASSERT_EQUAL(tools::Long(18160), pObj->GetSnapRect().Left());
CPPUNIT_ASSERT_EQUAL(tools::Long(1609), pObj->GetSnapRect().Top());
// Without the fix in place, this test would have failed here