remove unused code FontSizeBox::GetValue(unsigned short, FieldUnit)

Change-Id: I63df5364d69bf60e7a5ee2b5854b41ce27f10894
This commit is contained in:
Noel Grandin 2014-02-27 16:04:27 +02:00
parent 98881b0a55
commit 64977e5c2b
3 changed files with 0 additions and 21 deletions

View File

@ -524,7 +524,6 @@ public:
virtual void SetValue( sal_Int64 nNewValue ); virtual void SetValue( sal_Int64 nNewValue );
virtual sal_Int64 GetValue( FieldUnit eOutUnit ) const; virtual sal_Int64 GetValue( FieldUnit eOutUnit ) const;
virtual sal_Int64 GetValue() const; virtual sal_Int64 GetValue() const;
sal_Int64 GetValue( sal_uInt16 nPos, FieldUnit eOutUnit ) const;
private: private:
// declared as private because some compilers would generate the default functions // declared as private because some compilers would generate the default functions

View File

@ -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<sal_Int64>(reinterpret_cast<sal_IntPtr>(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 sal_Int64 FontSizeBox::GetValue( FieldUnit eOutUnit ) const
{ {
if ( !bRelative ) if ( !bRelative )

View File

@ -19,7 +19,6 @@ FileStream::close()
FileStream::createTempFile(rtl::OString const&) FileStream::createTempFile(rtl::OString const&)
FileStream::write(void const*, unsigned long) FileStream::write(void const*, unsigned long)
FontSelectPatternAttributes::FontSelectPatternAttributes(PhysicalFontFace const&, Size const&, float, int, bool) FontSelectPatternAttributes::FontSelectPatternAttributes(PhysicalFontFace const&, Size const&, float, int, bool)
FontSizeBox::GetValue(unsigned short, FieldUnit) const
GDriveDocument::GDriveDocument(GDriveSession*) GDriveDocument::GDriveDocument(GDriveSession*)
GDriveFolder::GDriveFolder(GDriveSession*) GDriveFolder::GDriveFolder(GDriveSession*)
GDriveProperty::GDriveProperty() GDriveProperty::GDriveProperty()