warning C4800: forcing value to bool 'true' or 'false'

Change-Id: I0bea774cd903f93721de6ffd8ed4ff9f5a15ef81
This commit is contained in:
Thomas Arnhold
2014-08-17 01:57:20 +02:00
parent f05d1812c0
commit 2b4c54aa13

View File

@@ -112,7 +112,7 @@ public:
const OUString& getCurRegionName () const { return maCurRegionName;}
// Check if the root region is visible or not.
bool isNonRootRegionVisible () const { return mnCurRegionId;}
bool isNonRootRegionVisible () const { return mnCurRegionId > 0;}
void setOpenRegionHdl(const Link &rLink);