Kaydet (Commit) 9e65b68e authored tarafından Caolán McNamara's avatar Caolán McNamara

reduce CurrencyBox somewhat

üst a0649246
...@@ -74,8 +74,6 @@ Control::GetLineCount() const ...@@ -74,8 +74,6 @@ Control::GetLineCount() const
CurrencyBox::CurrencyBox(Window*, ResId const&) CurrencyBox::CurrencyBox(Window*, ResId const&)
CurrencyBox::GetValue(unsigned short) const CurrencyBox::GetValue(unsigned short) const
CurrencyBox::GetValuePos(long) const CurrencyBox::GetValuePos(long) const
CurrencyBox::InsertValue(long, unsigned short)
CurrencyBox::RemoveValue(long)
CurrencyField::CurrencyField(Window*, ResId const&) CurrencyField::CurrencyField(Window*, ResId const&)
CurrencyFormatter::SetCurrencySymbol(String const&) CurrencyFormatter::SetCurrencySymbol(String const&)
CustomToolBarImportHelper::showToolbar(rtl::OUString const&) CustomToolBarImportHelper::showToolbar(rtl::OUString const&)
......
...@@ -819,8 +819,6 @@ public: ...@@ -819,8 +819,6 @@ public:
virtual void ReformatAll(); virtual void ReformatAll();
void InsertValue( sal_Int64 nValue, sal_uInt16 nPos = COMBOBOX_APPEND );
void RemoveValue( sal_Int64 nValue );
sal_Int64 GetValue( sal_uInt16 nPos ) const; sal_Int64 GetValue( sal_uInt16 nPos ) const;
sal_uInt16 GetValuePos( sal_Int64 nValue ) const; sal_uInt16 GetValuePos( sal_Int64 nValue ) const;
......
...@@ -2383,23 +2383,6 @@ CurrencyBox::CurrencyBox( Window* pParent, WinBits nWinStyle ) : ...@@ -2383,23 +2383,6 @@ CurrencyBox::CurrencyBox( Window* pParent, WinBits nWinStyle ) :
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
CurrencyBox::CurrencyBox( Window* pParent, const ResId& rResId ) :
ComboBox( WINDOW_CURRENCYBOX )
{
rResId.SetRT( RSC_CURRENCYBOX );
WinBits nStyle = ImplInitRes( rResId );
ComboBox::ImplInit( pParent, nStyle );
CurrencyFormatter::ImplLoadRes( ResId( (RSHEADER_TYPE *)GetClassRes(), *rResId.GetResMgr() ) );
SetField( this );
ComboBox::ImplLoadRes( rResId );
Reformat();
if ( !(nStyle & WB_HIDE ) )
Show();
}
// -----------------------------------------------------------------------
CurrencyBox::~CurrencyBox() CurrencyBox::~CurrencyBox()
{ {
} }
...@@ -2478,20 +2461,6 @@ void CurrencyBox::ReformatAll() ...@@ -2478,20 +2461,6 @@ void CurrencyBox::ReformatAll()
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
void CurrencyBox::InsertValue( sal_Int64 nValue, sal_uInt16 nPos )
{
ComboBox::InsertEntry( CreateFieldText( nValue ), nPos );
}
// -----------------------------------------------------------------------
void CurrencyBox::RemoveValue( sal_Int64 nValue )
{
ComboBox::RemoveEntry( CreateFieldText( nValue ) );
}
// -----------------------------------------------------------------------
sal_Int64 CurrencyBox::GetValue( sal_uInt16 nPos ) const sal_Int64 CurrencyBox::GetValue( sal_uInt16 nPos ) const
{ {
double nValue = 0; double nValue = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment