diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 01:37:20 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 05:15:25 +0200 |
commit | 439c90916c15ee9647ef408a33eacf9150aed216 (patch) | |
tree | df3ecc5bc4c4005d5215d80f94171ff379dec3eb /include | |
parent | 6d51e258b9b9017a01e266897fca86b3d1159e33 (diff) |
warning C4800: 'int' : forcing value to bool 'true' or 'false'
Change-Id: I011954c2e12abb8a7551638567474e2123d3221e
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/mstoolbar.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/filter/msfilter/mstoolbar.hxx b/include/filter/msfilter/mstoolbar.hxx index 58af3c4d665f..8dbea1b6048a 100644 --- a/include/filter/msfilter/mstoolbar.hxx +++ b/include/filter/msfilter/mstoolbar.hxx @@ -275,7 +275,7 @@ public: sal_uInt8 getTct() const { return tct; } sal_uInt16 getTcID() const { return tcid; } bool isVisible() { return !( bFlagsTCR & 0x1 ); } - bool isBeginGroup() { return ( bFlagsTCR & 0x2 ); } + bool isBeginGroup() { return ( bFlagsTCR & 0x2 ) != 0; } bool Read(SvStream &rS) SAL_OVERRIDE; #if OSL_DEBUG_LEVEL > 1 virtual void Print( FILE* ) SAL_OVERRIDE; |