summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:16:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:16:33 +0100
commitb271fb5ba1a8f7da2120d7037de087b02eb16c91 (patch)
tree74f5c2f1a419311097eaa9c474f3e1a69fed7efe /sdext/source/pdfimport/inc
parent48db069fd7341ad8128d0e9a5fbcc5b092fe9860 (diff)
More loplugin:cstylecast: sdext
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: Ie9eca6a78912a62f5a46ecacb1da052621c79ea4
Diffstat (limited to 'sdext/source/pdfimport/inc')
-rw-r--r--sdext/source/pdfimport/inc/pdfihelper.hxx2
1 files changed, 1 insertions, 1 deletions
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<size_t>(rFont.familyName.hashCode())
^ size_t(rFont.isBold ? 0xd47be593 : 0)
^ size_t(rFont.isItalic ? 0x1efd51a1 : 0)
^ size_t(rFont.isUnderline ? 0xf6bd325a : 0)