summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-28 09:55:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-28 12:27:40 +0000
commit5488b315b6914fb085ce2d9a99e4162ff74a8337 (patch)
tree11a3aeddf608c825d54824494f112dd09f2aaf23 /rsc/source
parent40aeb8ba411a8f9682bc7213a69b7e9ec2c66f4a (diff)
splitters no longer loaded from resource files
Change-Id: I84ee0c754118882734301bf1d34c15ba640a3889
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/parser/rscicpx.cxx18
-rw-r--r--rsc/source/parser/rscinit.cxx4
2 files changed, 0 insertions, 22 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 35fc0ff6a999..24f65dd7e5a0 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -911,24 +911,6 @@ RscTop * RscTypCont::InitClassMenu( RscTop * pSuper,
return pClassMenu;
}
-RscTop * RscTypCont::InitClassSplitter( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassSplitter;
-
- // Klasse anlegen
- nId = pHS->getID( "Splitter" );
- pClassSplitter = new RscClass( nId, RSC_SPLITTER, pSuper );
- pClassSplitter->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
-
- aNmTb.Put( nId, CLASSNAME, pClassSplitter );
-
- INS_WINBIT(pClassSplitter,HScroll);
- INS_WINBIT(pClassSplitter,VScroll);
-
- return pClassSplitter;
-}
-
RscTop * RscTypCont::InitClassSplitWindow( RscTop * pSuper )
{
Atom nId;
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index e4764636e40a..de4f0aa358b6 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -86,7 +86,6 @@ void RscTypCont::Init()
RscTop * pClassAccel;
RscTop * pClassMenuItem;
RscTop * pClassMenu;
- RscTop * pClassSplitter;
RscTop * pClassSplitWindow;
RscTop * pClassSpinButton;
RscTop * pClassTime;
@@ -420,9 +419,6 @@ void RscTypCont::Init()
RSC_MENUITEM_MENU );
}
{
- pClassSplitter = InitClassSplitter( pClassWindow );
- pRoot->Insert( pClassSplitter );
-
pClassSplitWindow = InitClassSplitWindow( pClassWindow );
pRoot->Insert( pClassSplitWindow );