summaryrefslogtreecommitdiff
path: root/sax/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sax/qa')
-rw-r--r--sax/qa/cppunit/test_converter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx
index 7fa29b0f7046..7becf74af56a 100644
--- a/sax/qa/cppunit/test_converter.cxx
+++ b/sax/qa/cppunit/test_converter.cxx
@@ -371,9 +371,9 @@ void ConverterTest::testMeasure()
doTestStringToMeasure(555, "666", MeasureUnit::MM, -1000, 555);
doTestStringToMeasure(-1000, "-1001", MeasureUnit::MM, -1000, 555);
doTestStringToMeasure(0, "-0", MeasureUnit::MM, -1, 0);
- doTestStringToMeasure(2147483647, "1234567890mm", MeasureUnit::MM_10TH, 12, ::std::numeric_limits<sal_Int32>::max());
+ doTestStringToMeasure(::std::numeric_limits<sal_Int32>::max(), "1234567890mm", MeasureUnit::MM_10TH, 12, ::std::numeric_limits<sal_Int32>::max());
doTestStringToMeasure(-300, "-300", MeasureUnit::MM, -1000, 555);
- doTestStringToMeasure(-2147483648, "-999999999999999px", MeasureUnit::PIXEL, ::std::numeric_limits<sal_Int32>::min(), 555); //really crazy numbers...
+ doTestStringToMeasure(::std::numeric_limits<sal_Int32>::min(), "-999999999999999px", MeasureUnit::PIXEL, ::std::numeric_limits<sal_Int32>::min(), 555); //really crazy numbers...
doTestMeasureToString("6mm", 600, MeasureUnit::MM_100TH, MeasureUnit::MM);
doTestMeasureToString("0.005cm", 000000005, MeasureUnit::MM_100TH, MeasureUnit::CM); // zeros in the front doesn't count