diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-20 11:53:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-24 08:12:09 +0200 |
commit | 9604eb87581ae7d8714fb69cf56a0442c4740100 (patch) | |
tree | 64af14bb768b28167743563c8d6704cb558d4f44 /extensions | |
parent | f661ac03e049844fd529fb6ff02e628b32cac650 (diff) |
svtools: sal_Bool->bool
Change-Id: I8f171f7f61ea06a79183e9bf9b15b8c35c98cc9b
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/usercontrol.cxx | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index b12261eb560d..5f59fdc3c0ba 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -256,7 +256,7 @@ namespace pcr ODateTimeControl::ODateTimeControl( Window* _pParent, WinBits _nWinStyle) :ODateTimeControl_Base( PropertyControlType::DateTimeField, _pParent, _nWinStyle ) { - getTypedControlWindow()->EnableEmptyField( sal_True ); + getTypedControlWindow()->EnableEmptyField( true ); // determine a default format LanguageType eSysLanguage = SvtSysLocale().GetLanguageTag().getLanguageType( false); diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx index 0f9f2f973958..f476f2ccb4d8 100644 --- a/extensions/source/propctrlr/usercontrol.cxx +++ b/extensions/source/propctrlr/usercontrol.cxx @@ -69,16 +69,16 @@ namespace pcr { if ( pSupplier ) { - TreatAsNumber( sal_True ); + TreatAsNumber( true ); SvNumberFormatter* pFormatter = pSupplier->GetNumberFormatter(); - SetFormatter( pFormatter, sal_True ); + SetFormatter( pFormatter, true ); SetValue( 1234.56789 ); } else { - TreatAsNumber( sal_False ); - SetFormatter( NULL, sal_True ); + TreatAsNumber( false ); + SetFormatter( NULL, true ); SetText( "" ); } } @@ -172,7 +172,7 @@ namespace pcr OFormattedNumericControl::OFormattedNumericControl( Window* pParent, WinBits nWinStyle ) :OFormattedNumericControl_Base( PropertyControlType::Unknown, pParent, nWinStyle ) { - getTypedControlWindow()->TreatAsNumber(sal_True); + getTypedControlWindow()->TreatAsNumber(true); m_nLastDecimalDigits = getTypedControlWindow()->GetDecimalDigits(); } @@ -214,11 +214,11 @@ namespace pcr if (rDesc.pSupplier) { - getTypedControlWindow()->TreatAsNumber(sal_True); + getTypedControlWindow()->TreatAsNumber(true); SvNumberFormatter* pFormatter = rDesc.pSupplier->GetNumberFormatter(); if (pFormatter != getTypedControlWindow()->GetFormatter()) - getTypedControlWindow()->SetFormatter(pFormatter, sal_True); + getTypedControlWindow()->SetFormatter(pFormatter, true); getTypedControlWindow()->SetFormatKey(rDesc.nKey); const SvNumberformat* pEntry = getTypedControlWindow()->GetFormatter()->GetEntry(getTypedControlWindow()->GetFormatKey()); @@ -250,8 +250,8 @@ namespace pcr if ( bFallback ) { - getTypedControlWindow()->TreatAsNumber(sal_False); - getTypedControlWindow()->SetFormatter(NULL, sal_True); + getTypedControlWindow()->TreatAsNumber(false); + getTypedControlWindow()->SetFormatter(NULL, true); getTypedControlWindow()->SetText(""); m_nLastDecimalDigits = 0; } |