From b271fb5ba1a8f7da2120d7037de087b02eb16c91 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 12 Jan 2018 20:16:33 +0100 Subject: More loplugin:cstylecast: sdext auto-rewrite with "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Ie9eca6a78912a62f5a46ecacb1da052621c79ea4 --- sdext/source/pdfimport/inc/pdfihelper.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext/source/pdfimport/inc') diff --git a/sdext/source/pdfimport/inc/pdfihelper.hxx b/sdext/source/pdfimport/inc/pdfihelper.hxx index bcc42dd384b7..072a5bd01d50 100644 --- a/sdext/source/pdfimport/inc/pdfihelper.hxx +++ b/sdext/source/pdfimport/inc/pdfihelper.hxx @@ -82,7 +82,7 @@ namespace pdfi { size_t operator()(const FontAttributes& rFont ) const { - return (size_t)rFont.familyName.hashCode() + return static_cast(rFont.familyName.hashCode()) ^ size_t(rFont.isBold ? 0xd47be593 : 0) ^ size_t(rFont.isItalic ? 0x1efd51a1 : 0) ^ size_t(rFont.isUnderline ? 0xf6bd325a : 0) -- cgit