diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:01:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:01:15 +0100 |
commit | 72e3c234104a17566c0354beacc6d182234f1e5f (patch) | |
tree | 676e0c1a21ac6b107938d486cbe0b4201b5d4f1c /include/vcl/mapmod.hxx | |
parent | 0ffaf416ba6ec1d5955008467a5bf46a40ac6640 (diff) |
More loplugin:cstylecast: vcl
Change-Id: I74d1555b461fd8ea316380423fcde2d167714170
Diffstat (limited to 'include/vcl/mapmod.hxx')
-rw-r--r-- | include/vcl/mapmod.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/mapmod.hxx b/include/vcl/mapmod.hxx index a41dfbca5773..e3e1ede649ab 100644 --- a/include/vcl/mapmod.hxx +++ b/include/vcl/mapmod.hxx @@ -79,7 +79,7 @@ template<typename charT, typename traits> inline std::basic_ostream<charT, traits> & operator <<( std::basic_ostream<charT, traits> & rStream, const MapMode& rMode) { - rStream << "MapMode(" << (unsigned)rMode.GetMapUnit() << ",(" << rMode.GetScaleX() << "," << rMode.GetScaleY() << ")@(" << rMode.GetOrigin() << "))"; + rStream << "MapMode(" << static_cast<unsigned>(rMode.GetMapUnit()) << ",(" << rMode.GetScaleX() << "," << rMode.GetScaleY() << ")@(" << rMode.GetOrigin() << "))"; return rStream; } |