diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 20:46:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 21:28:08 +0100 |
commit | 54a6b3d7b24bb041f137015feb4e6a9a11891005 (patch) | |
tree | bb1e4b3383baede71a748c4efabd91889f7959f6 /oox/source/ole | |
parent | e8ba3d51609238c365ab471ee622513e8b30d721 (diff) |
bool improvements
Change-Id: I89c35503d22797c5d5117e298f04e953de03044a
Diffstat (limited to 'oox/source/ole')
-rw-r--r-- | oox/source/ole/axbinarywriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ole/axbinarywriter.cxx b/oox/source/ole/axbinarywriter.cxx index 3f71dc263387..a6408b279bb9 100644 --- a/oox/source/ole/axbinarywriter.cxx +++ b/oox/source/ole/axbinarywriter.cxx @@ -142,8 +142,8 @@ AxBinaryPropertyWriter::AxBinaryPropertyWriter( BinaryOutputStream& rOutStrm, bo void AxBinaryPropertyWriter::writeBoolProperty( bool orbValue, bool bReverse ) { - // orbValue ^ bReverse true then we want to set the bit, e.g. don't skip - startNextProperty( !( ( orbValue ^ bReverse ) >= 1 ) ); + // orbValue == bReverse false then we want to set the bit, e.g. don't skip + startNextProperty( orbValue == bReverse ); } void AxBinaryPropertyWriter::writePairProperty( AxPairData& orPairData ) |