From 64977e5c2bc6f869cacfe589f9155396847d935c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 27 Feb 2014 16:04:27 +0200 Subject: remove unused code FontSizeBox::GetValue(unsigned short, FieldUnit) Change-Id: I63df5364d69bf60e7a5ee2b5854b41ce27f10894 --- svtools/source/control/ctrlbox.cxx | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'svtools') diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 8860c67b9670..ea1cdee711b0 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -1974,25 +1974,6 @@ void FontSizeBox::SetValue( sal_Int64 nNewValue ) -sal_Int64 FontSizeBox::GetValue( sal_uInt16 nPos, FieldUnit eOutUnit ) const -{ - if ( !bRelative ) - { - sal_Int64 nComboVal = static_cast(reinterpret_cast(ComboBox::GetEntryData( nPos ))); - if ( nComboVal < 0 ) // marked as special? - { - return MetricField::ConvertValue( -nComboVal, mnBaseValue, GetDecimalDigits(), - meUnit, eOutUnit ); - } - } - - // do normal font size processing - sal_Int64 nRetValue = MetricBox::GetValue( nPos, eOutUnit ); - return nRetValue; -} - - - sal_Int64 FontSizeBox::GetValue( FieldUnit eOutUnit ) const { if ( !bRelative ) -- cgit