summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 01:57:20 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-17 05:15:28 +0200
commit2b4c54aa1363bf450e91172ad67db33de63c5963 (patch)
tree82bfa70c958f5acbb9cc17f3861b630eb2888c1f /include
parentf05d1812c069ad4471da21a8b6a0f9cc7717e37e (diff)
warning C4800: forcing value to bool 'true' or 'false'
Change-Id: I0bea774cd903f93721de6ffd8ed4ff9f5a15ef81
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/templateabstractview.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/templateabstractview.hxx b/include/sfx2/templateabstractview.hxx
index cd51d2bf67cd..00ecf03c4cf3 100644
--- a/include/sfx2/templateabstractview.hxx
+++ b/include/sfx2/templateabstractview.hxx
@@ -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);