diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:33:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:28 +0200 |
commit | b0d9184ad2dab26e7ee17d8c0ace9f5e5e753026 (patch) | |
tree | 9a0161269ba032520c25e2626b8b5ece05160a17 /svtools/source/config/menuoptions.cxx | |
parent | 94da7fda53562263f960c4ba11644fee7292c2d8 (diff) |
loplugin:simplifybool
Change-Id: I3a5554b73c6e9f39a4a903eecf6c59bd3a9a9883
Diffstat (limited to 'svtools/source/config/menuoptions.cxx')
-rw-r--r-- | svtools/source/config/menuoptions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx index de49505ad463..9c0440e6a5cf 100644 --- a/svtools/source/config/menuoptions.cxx +++ b/svtools/source/config/menuoptions.cxx @@ -176,7 +176,7 @@ SvtMenuOptions_Impl::SvtMenuOptions_Impl() else { bSystemMenuIcons = false; - bMenuIcons = m_eMenuIcons ? true : false; + bMenuIcons = m_eMenuIcons != TRISTATE_FALSE; } // Copy values from list in right order to our internal member. @@ -249,7 +249,7 @@ void SvtMenuOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames ) else { bSystemMenuIcons = false; - bMenuIcons = m_eMenuIcons ? true : false; + bMenuIcons = m_eMenuIcons != TRISTATE_FALSE; } // Step over list of property names and get right value from coreesponding value list to set it on internal members! |