summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-24 17:07:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-25 11:41:23 +0100
commit30a458d7e1dcd8c7b35cd74b10ce41d2a89e8552 (patch)
treeb4ab4d8e73d63b4b598d2ce268532bcfdd9650da /rsc
parent7549878fd63bb2792432865958874c644a948d45 (diff)
no ListBox loaded from .src now
Change-Id: I7d30c38777f6a36c991271a3617d3f75c83cd490
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/source/parser/rscicpx.cxx31
-rw-r--r--rsc/source/parser/rscinit.cxx4
3 files changed, 0 insertions, 36 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index 4be970fb85f5..c7f719aa2446 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -177,7 +177,6 @@ class RscTypCont
RscTop * InitClassControl( RscTop * pSuper );
RscTop * InitClassPushButton( RscTop * pSuper );
RscTop * InitClassEdit( RscTop * pSuper );
- RscTop * InitClassListBox( RscTop * pSuper, RscArray * pStrLst );
RscTop * InitClassFixedText( RscTop * pSuper );
RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey );
RscTop * InitClassMenuItem( RscTop * pSuper );
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 01c310dc39b6..89b80748bc67 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -304,37 +304,6 @@ RscTop * RscTypCont::InitClassEdit( RscTop * pSuper )
return pClassEdit;
}
-RscTop * RscTypCont::InitClassListBox( RscTop * pSuper, RscArray * pStrLst )
-{
- Atom nId;
- RscTop * pClassListBox;
-
- // initialize class
- nId = pHS->getID( "ListBox" );
- pClassListBox = new RscClass( nId, RSC_LISTBOX, pSuper );
- pClassListBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassListBox );
-
- // initialize variables
- INS_WINBIT(pClassListBox,Sort)
- INS_WINBIT(pClassListBox,DropDown)
- INS_WINBIT(pClassListBox,HScroll);
- INS_WINBIT(pClassListBox,VScroll);
- INS_WINBIT(pClassListBox,AutoSize)
- INS_WINBIT(pClassListBox,AutoHScroll)
-
- {
- RSCINST aDflt = aUShort.Create( nullptr, RSCINST() );
- aDflt.pClass->SetNumber( aDflt, (sal_uInt16)0xFFFF );
- nId = aNmTb.Put( "CurPos", VARNAME );
- pClassListBox->SetVariable( nId, &aUShort, &aDflt );
- }
- nId = aNmTb.Put( "StringList", VARNAME );
- pClassListBox->SetVariable( nId, pStrLst );
-
- return pClassListBox;
-}
-
RscTop * RscTypCont::InitClassFixedText( RscTop * pSuper )
{
Atom nId;
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 7bd5ea75673c..4bdaf63a6ef1 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -66,7 +66,6 @@ void RscTypCont::Init()
RscTop * pClassButton;
RscTop * pClassPushButton;
RscTop * pClassEdit;
- RscTop * pClassListBox;
RscTop * pClassFixedText;
RscTop * pClassKeyCode;
RscTop * pLangClassKeyCode;
@@ -308,9 +307,6 @@ void RscTypCont::Init()
pRoot->Insert( pClassEdit );
}
{
- pClassListBox = InitClassListBox( pClassControl, pLangStringLongTupelList );
- pRoot->Insert( pClassListBox );
-
pClassFixedText = InitClassFixedText( pClassControl );
pRoot->Insert( pClassFixedText );