summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/standardcontrol.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:16:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:40 +0200
commit2ee796ba49a13c38c1eb1e98c5e8b78d1ce18b64 (patch)
treedc1c62db36a2824a0e90cd77d4382edaab216ba2 /extensions/source/propctrlr/standardcontrol.cxx
parent4bff11d579dce8e2bb4f35f9218003bb28cf5a01 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ief96e7038461f514d8fe5bf16b7181b122715775
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index 25e4bd45407b..325dba0e46fb 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -500,11 +500,11 @@ namespace pcr
Optional< double > SAL_CALL ONumericControl::getMinValue() throw (RuntimeException, std::exception)
{
- Optional< double > aReturn( sal_True, 0 );
+ Optional< double > aReturn( true, 0 );
sal_Int64 minValue = getTypedControlWindow()->GetMin();
if ( minValue == ::std::numeric_limits< sal_Int64 >::min() )
- aReturn.IsPresent = sal_False;
+ aReturn.IsPresent = false;
else
aReturn.Value = (double)minValue;
@@ -523,11 +523,11 @@ namespace pcr
Optional< double > SAL_CALL ONumericControl::getMaxValue() throw (RuntimeException, std::exception)
{
- Optional< double > aReturn( sal_True, 0 );
+ Optional< double > aReturn( true, 0 );
sal_Int64 maxValue = getTypedControlWindow()->GetMax();
if ( maxValue == ::std::numeric_limits< sal_Int64 >::max() )
- aReturn.IsPresent = sal_False;
+ aReturn.IsPresent = false;
else
aReturn.Value = (double)maxValue;