diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-14 21:36:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-15 20:30:39 +0100 |
commit | 8d373129e9ade194ff7759c9e8736945c4a2fb42 (patch) | |
tree | 156661f5b7e6a9a9d5657001d180a25cd4bda0bc /vcl | |
parent | 2f7eb939fe162cbe16af68bb09754a8a9800a78f (diff) |
callcatcher: update unused code
and strip away some stuff in rsc that should now be dead
Change-Id: I6411e706c50dff299099680f1f942bf61c4e79f2
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/combobox.cxx | 7 | ||||
-rw-r--r-- | vcl/source/control/field.cxx | 15 |
2 files changed, 0 insertions, 22 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index a5810f27a074..ecaca6598f0c 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -44,13 +44,6 @@ static void lcl_GetSelectedEntries( ::std::set< sal_Int32 >& rSelectedPos, const } } -ComboBox::ComboBox( WindowType nType ) : - Edit( nType ) -{ - ImplInitComboBoxData(); - SetWidthInChars(-1); -} - ComboBox::ComboBox( Window* pParent, WinBits nStyle ) : Edit( WINDOW_COMBOBOX ) { diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 81bd025fc97f..4b209e2887d5 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -892,21 +892,6 @@ NumericBox::NumericBox( Window* pParent, WinBits nWinStyle ) : Show(); } -NumericBox::NumericBox( Window* pParent, const ResId& rResId ) : - ComboBox( WINDOW_NUMERICBOX ) -{ - rResId.SetRT( RSC_NUMERICBOX ); - WinBits nStyle = ImplInitRes( rResId ); - ComboBox::ImplInit( pParent, nStyle ); - SetField( this ); - ComboBox::ImplLoadRes( rResId ); - NumericFormatter::ImplLoadRes( ResId( (RSHEADER_TYPE *)GetClassRes(), *rResId.GetResMgr() ) ); - Reformat(); - - if ( !(nStyle & WB_HIDE ) ) - Show(); -} - Size NumericBox::CalcMinimumSize() const { Size aRet(calcMinimumSize(*this, *this)); |