diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-20 16:52:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-21 07:16:46 +0100 |
commit | 4a08d20ee58a6ade7dce58e45432cde73d9eb7b8 (patch) | |
tree | c5d3d0901d9eae7157732445c7565f9b89ae63fb /vcl/source/control/field.cxx | |
parent | 285d275816e58798a0a830f356cc76ef5ef506e1 (diff) |
loplugin:unusedmethods
Change-Id: I2194158d555958f0192d8d6c18e4c093608b8fb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89119
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/field.cxx')
-rw-r--r-- | vcl/source/control/field.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 0cc13221129e..3f5ba183f9c0 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -586,16 +586,6 @@ void NumericFormatter::SetDecimalDigits( sal_uInt16 nDigits ) ReformatAll(); } -void NumericFormatter::SetShowTrailingZeros( bool bShowTrailingZeros ) -{ - if ( mbShowTrailingZeros != bShowTrailingZeros ) - { - mbShowTrailingZeros = bShowTrailingZeros; - ReformatAll(); - } -} - - void NumericFormatter::SetValue( sal_Int64 nNewValue ) { SetUserValue( nNewValue ); @@ -1008,11 +998,6 @@ void NumericBox::ReformatAll() SetUpdateMode( true ); } -void NumericBox::InsertValue( sal_Int64 nValue, sal_Int32 nPos ) -{ - ComboBox::InsertEntry( CreateFieldText( nValue ), nPos ); -} - static bool ImplMetricProcessKeyInput( const KeyEvent& rKEvt, bool bUseThousandSep, const LocaleDataWrapper& rWrapper ) { @@ -1535,12 +1520,6 @@ sal_Int64 MetricFormatter::GetMax( FieldUnit eOutUnit ) const return vcl::ConvertValue(NumericFormatter::GetMax(), 0, GetDecimalDigits(), meUnit, eOutUnit); } -sal_Int64 MetricFormatter::GetBaseValue() const -{ - // convert to requested units - return vcl::ConvertValue(0, 0, GetDecimalDigits(), meUnit, FieldUnit::NONE); -} - void MetricFormatter::Reformat() { if ( !GetField() ) |