summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/usercontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:09:57 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 10:52:47 +0200
commit719c55cda76e0a00b4530396ebcf25777588a250 (patch)
tree3739d33f4602624b839213b02b0a991677f82439 /extensions/source/propctrlr/usercontrol.cxx
parent56af9ab6bb38f8b795295080308cdab7b97e8acc (diff)
loplugin: defaultparams
Change-Id: I455b200febc9939f3fb81597938b26c0e9eb5f74
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r--extensions/source/propctrlr/usercontrol.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index 0c42e18dee02..43f09b42e978 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -72,13 +72,13 @@ namespace pcr
TreatAsNumber( true );
SvNumberFormatter* pFormatter = pSupplier->GetNumberFormatter();
- SetFormatter( pFormatter, true );
+ SetFormatter( pFormatter );
SetValue( 1234.56789 );
}
else
{
TreatAsNumber( false );
- SetFormatter( NULL, true );
+ SetFormatter( NULL );
SetText( "" );
}
}
@@ -218,7 +218,7 @@ namespace pcr
SvNumberFormatter* pFormatter = rDesc.pSupplier->GetNumberFormatter();
if (pFormatter != getTypedControlWindow()->GetFormatter())
- getTypedControlWindow()->SetFormatter(pFormatter, true);
+ getTypedControlWindow()->SetFormatter(pFormatter);
getTypedControlWindow()->SetFormatKey(rDesc.nKey);
const SvNumberformat* pEntry = getTypedControlWindow()->GetFormatter()->GetEntry(getTypedControlWindow()->GetFormatKey());
@@ -251,7 +251,7 @@ namespace pcr
if ( bFallback )
{
getTypedControlWindow()->TreatAsNumber(false);
- getTypedControlWindow()->SetFormatter(NULL, true);
+ getTypedControlWindow()->SetFormatter(NULL);
getTypedControlWindow()->SetText("");
m_nLastDecimalDigits = 0;
}