summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-08-11 13:13:35 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-08-11 14:19:24 +0200
commitbfed58821fc3a83fec4a985087cd45fa963bed3e (patch)
tree427156ed03b2b72069e47d9f1250dc36670c09cf /tools
parentc46950fee11f5207fb8324947280cd565ae483e7 (diff)
Drop convertMm100ToTwip in favor of the new o3tl::toTwips
Step by step, duplicates from <tools/UnitConversion.hxx> may go Change-Id: Id4c03ff8adc120ae06dbfdbdfb4f5ff0bb51f489 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120315 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qa/cppunit/test_100mm2twips.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/qa/cppunit/test_100mm2twips.cxx b/tools/qa/cppunit/test_100mm2twips.cxx
index bfed8c2e2ba9..fc1d228f2d49 100644
--- a/tools/qa/cppunit/test_100mm2twips.cxx
+++ b/tools/qa/cppunit/test_100mm2twips.cxx
@@ -34,12 +34,6 @@ public:
CPPUNIT_ASSERT_EQUAL(sal_Int64(-145), sanitiseMm100ToTwip(-255));
}
- void testConvertMm100ToTwip()
- {
- CPPUNIT_ASSERT_EQUAL(sal_Int64(145), convertMm100ToTwip(255));
- CPPUNIT_ASSERT_EQUAL(sal_Int64(-145), convertMm100ToTwip(-255));
- }
-
void testConvertPointToMm100()
{
CPPUNIT_ASSERT_DOUBLES_EQUAL(599.72, convertPointToMm100(17.0), 1E-2);
@@ -51,7 +45,6 @@ public:
CPPUNIT_TEST_SUITE(UnitConversionTest);
CPPUNIT_TEST(testSanitiseMm100ToTwip);
- CPPUNIT_TEST(testConvertMm100ToTwip);
CPPUNIT_TEST(testConvertPointToMm100);
CPPUNIT_TEST_SUITE_END();
};