diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:25:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:19 +0200 |
commit | 820fca753b0bfed6078b9cde09430177d6a193ca (patch) | |
tree | 1131d7504fd7ade9df9149238d559dc4bc8193a6 /chart2/source/controller/dialogs/res_ErrorBar.cxx | |
parent | 3ac5138cfc01c1795ae05963fa4e5a6c7d22f4de (diff) |
loplugin:simplifybool
Change-Id: Ie7b1a6c7e60d888e2f070b817d3c34814e5835ae
Diffstat (limited to 'chart2/source/controller/dialogs/res_ErrorBar.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/res_ErrorBar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index b43578b8e6a8..60d590177c52 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -41,8 +41,8 @@ void lcl_enableRangeChoosing( bool bEnable, Dialog * pDialog ) { if( pDialog ) { - pDialog->Show( bEnable ? false : true ); - pDialog->SetModalInputMode( bEnable ? false : true ); + pDialog->Show( !bEnable ); + pDialog->SetModalInputMode( !bEnable ); } } |