diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:13:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:13:01 +0100 |
commit | 8456c2ba408b3bed160d3e5f050738301b225bd5 (patch) | |
tree | f5b4ba22b4c1e1ccfef3c5430b627ffd0bfc9ec7 /tools/qa | |
parent | 8af176d7776938249f6e59dee3ed4f5c05edbebc (diff) |
More loplugin:cstylecast: tools
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: Ifb9ebc9623c8df14ea0d4c907001bd16c5b9ae59
Diffstat (limited to 'tools/qa')
-rw-r--r-- | tools/qa/cppunit/test_fract.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<double>(aFract),1.007812499068677) ); Fraction aFract2( aFract ); aFract2.ReduceInaccurate(8); |