summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/usercontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-20 11:53:43 +0200
committerNoel Grandin <noel@peralex.com>2014-03-24 08:12:09 +0200
commit9604eb87581ae7d8714fb69cf56a0442c4740100 (patch)
tree64af14bb768b28167743563c8d6704cb558d4f44 /extensions/source/propctrlr/usercontrol.cxx
parentf661ac03e049844fd529fb6ff02e628b32cac650 (diff)
svtools: sal_Bool->bool
Change-Id: I8f171f7f61ea06a79183e9bf9b15b8c35c98cc9b
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r--extensions/source/propctrlr/usercontrol.cxx18
1 files changed, 9 insertions, 9 deletions
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;
}