diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:19:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:49:01 +0200 |
commit | 1cb0b37ad09400138d7c4a5874c02f921e742d37 (patch) | |
tree | 952eabf4c88a16971a14723b83ae5da1557e1d85 /svx | |
parent | 61b44da9fbf35100ac96896f04dee5b779305d68 (diff) |
Rephrase comparisons between bool and sal_Bool
...to cater for forthcoming loplugin:implicitboolconversion improvements
Change-Id: I88c0c4681137022005c3a4c418e91cb17bc17148
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/formfeaturedispatcher.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/formfeaturedispatcher.cxx b/svx/source/form/formfeaturedispatcher.cxx index 2c18dbd3c30f..791543657ac6 100644 --- a/svx/source/form/formfeaturedispatcher.cxx +++ b/svx/source/form/formfeaturedispatcher.cxx @@ -68,7 +68,7 @@ namespace svx FeatureStateEvent aUnoState; getUnoState( aUnoState ); - if ( ( m_aLastKnownState == aUnoState.State ) && ( (m_bLastKnownEnabled ? 1 : 0) == aUnoState.IsEnabled ) ) + if ( ( m_aLastKnownState == aUnoState.State ) && ( m_bLastKnownEnabled == bool(aUnoState.IsEnabled) ) ) return; m_aLastKnownState = aUnoState.State; |