From 51b56f7fc5cbd8a6d5e9d086b00c2d1ebb69b1fa Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 15 Jan 2018 09:06:58 +0100 Subject: More loplugin:cstylecast: comphelper Change-Id: I64421e43afd7086a582fcfae0fd97b2afb6f8ef4 --- comphelper/source/streaming/basicio.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper/source/streaming') 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& 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(_rxInStream->readShort()); _rFont.Underline = _rxInStream->readShort(); _rFont.Strikeout = _rxInStream->readShort(); _rFont.Orientation = static_cast< float >(_rxInStream->readDouble()); -- cgit