From 8456c2ba408b3bed160d3e5f050738301b225bd5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 12 Jan 2018 20:13:01 +0100 Subject: More loplugin:cstylecast: tools auto-rewrite with "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Ifb9ebc9623c8df14ea0d4c907001bd16c5b9ae59 --- tools/qa/cppunit/test_fract.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/qa') diff --git a/tools/qa/cppunit/test_fract.cxx b/tools/qa/cppunit/test_fract.cxx index 83794340ed51..774427915392 100644 --- a/tools/qa/cppunit/test_fract.cxx +++ b/tools/qa/cppunit/test_fract.cxx @@ -36,7 +36,7 @@ public: { const Fraction aFract(1082130431,1073741824); CPPUNIT_ASSERT_MESSAGE( "Fraction #1 not approximately equal to 1.007812499068677", - rtl::math::approxEqual((double)aFract,1.007812499068677) ); + rtl::math::approxEqual(static_cast(aFract),1.007812499068677) ); Fraction aFract2( aFract ); aFract2.ReduceInaccurate(8); -- cgit