diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/mtrindlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/mtrindlg.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sc/source/ui/miscdlgs/mtrindlg.cxx b/sc/source/ui/miscdlgs/mtrindlg.cxx index 7bc19c14fa27..510f5785fe83 100644 --- a/sc/source/ui/miscdlgs/mtrindlg.cxx +++ b/sc/source/ui/miscdlgs/mtrindlg.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -43,9 +43,9 @@ //================================================================== ScMetricInputDlg::ScMetricInputDlg( Window* pParent, - USHORT nResId, - long nCurrent, - long nDefault, + USHORT nResId, + long nCurrent, + long nDefault, FieldUnit eFUnit, USHORT nDecimals, long nMaximum, @@ -53,11 +53,11 @@ ScMetricInputDlg::ScMetricInputDlg( Window* pParent, long nFirst, long nLast ) - : ModalDialog ( pParent, ScResId( nResId ) ), + : ModalDialog ( pParent, ScResId( nResId ) ), // aFtEditTitle ( this, ScResId( FT_LABEL ) ), aEdValue ( this, ScResId( ED_VALUE ) ), - aBtnDefVal ( this, ScResId( BTN_DEFVAL ) ), + aBtnDefVal ( this, ScResId( BTN_DEFVAL ) ), aBtnOk ( this, ScResId( BTN_OK ) ), aBtnCancel ( this, ScResId( BTN_CANCEL ) ), aBtnHelp ( this, ScResId( BTN_HELP ) ) @@ -77,9 +77,9 @@ ScMetricInputDlg::ScMetricInputDlg( Window* pParent, aEdValue.SetFirst ( aEdValue.Normalize( nFirst ), FUNIT_TWIP ); aEdValue.SetSpinSize ( aEdValue.Normalize( 1 ) / 10 ); aEdValue.SetValue ( aEdValue.Normalize( nDefault ), FUNIT_TWIP ); - nDefaultValue = sal::static_int_cast<long>( aEdValue.GetValue() ); + nDefaultValue = sal::static_int_cast<long>( aEdValue.GetValue() ); aEdValue.SetValue ( aEdValue.Normalize( nCurrent ), FUNIT_TWIP ); - nCurrentValue = sal::static_int_cast<long>( aEdValue.GetValue() ); + nCurrentValue = sal::static_int_cast<long>( aEdValue.GetValue() ); aBtnDefVal.Check( nCurrentValue == nDefaultValue ); FreeResource(); @@ -98,9 +98,9 @@ long ScMetricInputDlg::GetInputValue( FieldUnit eUnit ) const /* mit Nachkommastellen: - double nVal = aEdValue.GetValue( eUnit ); - USHORT nDecs = aEdValue.GetDecimalDigits(); - double nFactor = 0.0; + double nVal = aEdValue.GetValue( eUnit ); + USHORT nDecs = aEdValue.GetDecimalDigits(); + double nFactor = 0.0; // static long ImpPower10( USHORT nDecs ) { |