diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/streaming/basicio.cxx | 2 |
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()); |