diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-21 15:32:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-22 08:08:55 +0200 |
commit | d3158450293875051e04b0e13106ad4c112c8ba6 (patch) | |
tree | e47e91d847b62254c24372804b7cca4135e5e57e /starmath/qa/cppunit/test_node.cxx | |
parent | 7dc6fc32eb618da6defb8a9f330978fa019677b8 (diff) |
long->tools::Long in slideshow..starmath
Change-Id: I18f5b7c5da513d386f8ac848835b0410ebc7d95b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104629
Reviewed-by: Dante DM <dante19031999@gmail.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/qa/cppunit/test_node.cxx')
-rw-r--r-- | starmath/qa/cppunit/test_node.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/qa/cppunit/test_node.cxx b/starmath/qa/cppunit/test_node.cxx index dba0b9ff3c40..e543ac04027c 100644 --- a/starmath/qa/cppunit/test_node.cxx +++ b/starmath/qa/cppunit/test_node.cxx @@ -81,10 +81,10 @@ void NodeTest::testTdf47813() pNodeL->Arrange(*pOutputDevice, aFmt); pNodeR->Prepare(aFmt, *mxDocShell, 0); pNodeR->Arrange(*pOutputDevice, aFmt); - long nWidthA = pNodeA->GetRect().GetWidth(); - long nWidthC = pNodeC->GetRect().GetWidth(); - long nWidthL = pNodeL->GetRect().GetWidth(); - long nWidthR = pNodeR->GetRect().GetWidth(); + tools::Long nWidthA = pNodeA->GetRect().GetWidth(); + tools::Long nWidthC = pNodeC->GetRect().GetWidth(); + tools::Long nWidthL = pNodeL->GetRect().GetWidth(); + tools::Long nWidthR = pNodeR->GetRect().GetWidth(); CPPUNIT_ASSERT_DOUBLES_EQUAL(1.0, nWidthC/static_cast<double>(nWidthA), 0.01); // these values appear to change slightly with display scaling CPPUNIT_ASSERT_DOUBLES_EQUAL(1.0, nWidthL/static_cast<double>(nWidthA), 0.03); |