diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:27:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:27:12 +0100 |
commit | 4a7fb6abcd8999d64acefb598dfe85fff042d533 (patch) | |
tree | 3099abf67bcb967a01d222bef9ba26d5cf6acc9d /cppcanvas/source/mtfrenderer/emfppath.cxx | |
parent | 14d38072b5bc6ec83d14fe827209c3a65e35c154 (diff) |
More loplugin:cstylecast: cppcanvas
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: Ib58b16600c97f8dab1b32d7e049c946ca82e660b
Diffstat (limited to 'cppcanvas/source/mtfrenderer/emfppath.cxx')
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfppath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfppath.cxx b/cppcanvas/source/mtfrenderer/emfppath.cxx index 39dc1bcb9f99..162873750ad0 100644 --- a/cppcanvas/source/mtfrenderer/emfppath.cxx +++ b/cppcanvas/source/mtfrenderer/emfppath.cxx @@ -87,7 +87,7 @@ namespace cppcanvas if (pPointTypes) for (int i = 0; i < nPoints; i ++) { s.ReadUChar( pPointTypes [i] ); - SAL_INFO ("cppcanvas.emf", "EMF+\tpoint type: " << (int)pPointTypes [i]); + SAL_INFO ("cppcanvas.emf", "EMF+\tpoint type: " << static_cast<int>(pPointTypes [i])); } aPolygon.clear (); |