summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-15 11:25:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-15 17:02:59 +0100
commit748ed65ffba9d69ed333fd1347c30dd7a3a944b8 (patch)
tree7785130c92eda7425d6a843f7ada9b549c8ecee3 /vcl
parent1ea4f163c5a2f531dcfda7899b322636a735c618 (diff)
drop TabControl resource loader
Change-Id: Idb909c205dfadaadeb8b98ce08fe2f4286cfce26
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/tabctrl.cxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index cb21606df3ee..09af36305d92 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -190,37 +190,6 @@ TabControl::TabControl( Window* pParent, WinBits nStyle ) :
OSL_TRACE("*** TABCONTROL no notabs? %s", ( GetStyle() & WB_NOBORDER ) ? "true" : "false" );
}
-TabControl::TabControl( Window* pParent, const ResId& rResId ) :
- Control( WINDOW_TABCONTROL )
-{
- rResId.SetRT( RSC_TABCONTROL );
- WinBits nStyle = ImplInitRes( rResId );
- ImplInit( pParent, nStyle );
- ImplLoadRes( rResId );
-
- if ( !(nStyle & WB_HIDE) )
- Show();
-}
-
-void TabControl::ImplLoadRes( const ResId& rResId )
-{
- Control::ImplLoadRes( rResId );
-
- sal_uLong nObjMask = ReadLongRes();
-
- if ( nObjMask & RSC_TABCONTROL_ITEMLIST )
- {
- sal_uLong nEle = ReadLongRes();
-
- // add item
- for( sal_uLong i = 0; i < nEle; i++ )
- {
- InsertPage( ResId( (RSHEADER_TYPE *)GetClassRes(), *rResId.GetResMgr() ) );
- IncrementRes( GetObjSizeRes( (RSHEADER_TYPE *)GetClassRes() ) );
- }
- }
-}
-
TabControl::~TabControl()
{
if ( GetParent()->IsDialog() )