diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-12 08:36:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-12 09:02:03 +0100 |
commit | d24df3fc66614eda59d38f6ab409be73f8a20dad (patch) | |
tree | 0e8d4a1c123b12b6718b185e338ff6e1d0cb1d09 /vcl | |
parent | 4347d844646907ba31dc1e0c7f53c5a93d986c2a (diff) |
callcatcher: another round of ResId removals
Change-Id: Ia3acdb3501b7735820258cb090e731f5814bc07f
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/scrbar.cxx | 18 | ||||
-rw-r--r-- | vcl/source/edit/vclmedit.cxx | 30 |
2 files changed, 0 insertions, 48 deletions
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx index f7a87b3058ac..4351d6ff9e21 100644 --- a/vcl/source/control/scrbar.cxx +++ b/vcl/source/control/scrbar.cxx @@ -128,24 +128,6 @@ ScrollBar::~ScrollBar() delete mpData; } -void ScrollBar::ImplLoadRes( const ResId& rResId ) -{ - Control::ImplLoadRes( rResId ); - - sal_Int16 nMin = ReadShortRes(); - sal_Int16 nMax = ReadShortRes(); - sal_Int16 nThumbPos = ReadShortRes(); - sal_Int16 nPage = ReadShortRes(); - sal_Int16 nStep = ReadShortRes(); - sal_Int16 nVisibleSize = ReadShortRes(); - - SetRange( Range( nMin, nMax ) ); - SetLineSize( nStep ); - SetPageSize( nPage ); - SetVisibleSize( nVisibleSize ); - SetThumbPos( nThumbPos ); -} - void ScrollBar::ImplUpdateRects( bool bUpdate ) { sal_uInt16 nOldStateFlags = mnStateFlags; diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 5ce5b0fd5ebf..c26016faf2f0 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -938,36 +938,6 @@ VclMultiLineEdit::VclMultiLineEdit( Window* pParent, WinBits nWinStyle ) SetStyle( ImplInitStyle( nWinStyle ) ); } -VclMultiLineEdit::VclMultiLineEdit( Window* pParent, const ResId& rResId ) - : Edit( pParent, rResId.SetRT( RSC_MULTILINEEDIT ) ) -{ - SetType( WINDOW_MULTILINEEDIT ); - WinBits nWinStyle = rResId.GetWinBits(); - pImpVclMEdit = new ImpVclMEdit( this, nWinStyle ); - ImplInitSettings( true, true, true ); - pUpdateDataTimer = 0; - - sal_Int32 nMaxLen = Edit::GetMaxTextLen(); - if ( nMaxLen ) - SetMaxTextLen( nMaxLen ); - - SetText( Edit::GetText() ); - - if ( IsVisible() ) - pImpVclMEdit->Resize(); - - SetCompoundControl( true ); - SetStyle( ImplInitStyle( nWinStyle ) ); - - // Base Edit ctor could call Show already, but that would cause problems - // with accessibility, as Show might (indirectly) trigger a call to virtual - // GetComponentInterface, which is the Edit's base version instead of the - // VclMultiLineEdit's version while in the base Edit ctor: - if ((GetStyle() & WB_HIDE) == 0) - Show(); - -} - VclMultiLineEdit::~VclMultiLineEdit() { { |