summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:06:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:06:58 +0100
commit51b56f7fc5cbd8a6d5e9d086b00c2d1ebb69b1fa (patch)
tree1a570fa80923a466f1f67df440a3f423bc10edc1 /comphelper
parent9bff1e15e55e95a90887cc45f49cabad39a126bb (diff)
More loplugin:cstylecast: comphelper
Change-Id: I64421e43afd7086a582fcfae0fd97b2afb6f8ef4
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/streaming/basicio.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/streaming/basicio.cxx b/comphelper/source/streaming/basicio.cxx
index 98d8174f1d63..b43b6b1c7da0 100644
--- a/comphelper/source/streaming/basicio.cxx
+++ b/comphelper/source/streaming/basicio.cxx
@@ -63,7 +63,7 @@ const css::uno::Reference<css::io::XObjectInputStream>& operator >> (
_rFont.Pitch = _rxInStream->readShort();
_rFont.CharacterWidth = static_cast< float >(_rxInStream->readDouble());
_rFont.Weight = static_cast< float >(_rxInStream->readDouble());
- _rFont.Slant = (css::awt::FontSlant)_rxInStream->readShort();
+ _rFont.Slant = static_cast<css::awt::FontSlant>(_rxInStream->readShort());
_rFont.Underline = _rxInStream->readShort();
_rFont.Strikeout = _rxInStream->readShort();
_rFont.Orientation = static_cast< float >(_rxInStream->readDouble());