summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 01:37:20 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-17 05:15:25 +0200
commit439c90916c15ee9647ef408a33eacf9150aed216 (patch)
treedf3ecc5bc4c4005d5215d80f94171ff379dec3eb
parent6d51e258b9b9017a01e266897fca86b3d1159e33 (diff)
warning C4800: 'int' : forcing value to bool 'true' or 'false'
Change-Id: I011954c2e12abb8a7551638567474e2123d3221e
-rw-r--r--include/filter/msfilter/mstoolbar.hxx2
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;