diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-19 21:29:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-19 21:29:43 +0200 |
commit | 82da3d95c1bb2ba410a89fc1721b1ccb4f25b7cb (patch) | |
tree | 87a34da45d7048338a097c8a578354ba326c24d8 /comphelper | |
parent | c3a5012c5a9699040698505d3e34672382c026b8 (diff) |
loplugin:salbool: Implicit conversions from non-Boolean fundamental types
Change-Id: I67eac95686678e6f5a2d60798535b2c65a9ba5d7
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/streaming/basicio.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/streaming/basicio.cxx b/comphelper/source/streaming/basicio.cxx index a786cfe16a26..0caf2ab683fa 100644 --- a/comphelper/source/streaming/basicio.cxx +++ b/comphelper/source/streaming/basicio.cxx @@ -67,8 +67,8 @@ const css::uno::Reference<css::io::XObjectInputStream>& operator >> ( _rFont.Underline = _rxInStream->readShort(); _rFont.Strikeout = _rxInStream->readShort(); _rFont.Orientation = static_cast< float >(_rxInStream->readDouble()); - _rFont.Kerning = _rxInStream->readBoolean(); - _rFont.WordLineMode = _rxInStream->readBoolean(); + _rFont.Kerning = _rxInStream->readBoolean() != 0; + _rFont.WordLineMode = _rxInStream->readBoolean() != 0; _rFont.Type = _rxInStream->readShort(); return _rxInStream; } |