From 22401181774dfb3882e7ad0335f1267d7885ff48 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 23 Apr 2015 18:30:45 +0200 Subject: Improved loplugin:literaltoboolconversion looking into cond. exprs. ...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee --- chart2/source/controller/dialogs/res_ErrorBar.cxx | 4 ++-- chart2/source/controller/dialogs/tp_DataSource.cxx | 4 ++-- chart2/source/controller/dialogs/tp_RangeChooser.cxx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index a211f3de02bc..b43578b8e6a8 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 ? sal_False : sal_True ); - pDialog->SetModalInputMode( bEnable ? sal_False : sal_True ); + pDialog->Show( bEnable ? false : true ); + pDialog->SetModalInputMode( bEnable ? false : true ); } } diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index e2c30c5b1e08..f106decc7878 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -136,8 +136,8 @@ void lcl_enableRangeChoosing( bool bEnable, Dialog * pDialog ) { if( pDialog ) { - pDialog->Show( bEnable ? sal_False : sal_True ); - pDialog->SetModalInputMode( bEnable ? sal_False : sal_True ); + pDialog->Show( bEnable ? false : true ); + pDialog->SetModalInputMode( bEnable ? false : true ); } } diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.cxx b/chart2/source/controller/dialogs/tp_RangeChooser.cxx index 00f16fd7d7ac..7541f6726a19 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.cxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.cxx @@ -46,8 +46,8 @@ namespace { if( pDialog ) { - pDialog->Show( bEnable ? sal_False : sal_True ); - pDialog->SetModalInputMode( bEnable ? sal_False : sal_True ); + pDialog->Show( bEnable ? false : true ); + pDialog->SetModalInputMode( bEnable ? false : true ); } } -- cgit