diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 01:57:20 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 05:15:28 +0200 |
commit | 2b4c54aa1363bf450e91172ad67db33de63c5963 (patch) | |
tree | 82bfa70c958f5acbb9cc17f3861b630eb2888c1f /include/sfx2/templateabstractview.hxx | |
parent | warning C4800: forcing value to bool 'true' or 'false' (diff) | |
download | core-2b4c54aa1363bf450e91172ad67db33de63c5963.tar.gz core-2b4c54aa1363bf450e91172ad67db33de63c5963.zip |
warning C4800: forcing value to bool 'true' or 'false'
Change-Id: I0bea774cd903f93721de6ffd8ed4ff9f5a15ef81
Diffstat (limited to 'include/sfx2/templateabstractview.hxx')
-rw-r--r-- | include/sfx2/templateabstractview.hxx | 2 |
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); |