diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-15 15:33:17 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-16 06:43:06 +0000 |
commit | b852642ecdcba105d14b1927309cfb176fb7d417 (patch) | |
tree | 6e1ce3e55661e74ee33106764359d38d86ee409f /rsc | |
parent | ee6af9f72c298972d7f255aa92f365b33a9e53b2 (diff) |
remove unused RSC_SYSWINDOW and RSC_WORKWIN
Change-Id: I2c7db8a635c6770ff3221ee28b9349668d8d5881
Reviewed-on: https://gerrit.libreoffice.org/25004
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rscdb.hxx | 2 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 54 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 11 |
3 files changed, 0 insertions, 67 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index a84af73eafa4..d6a24088e1cb 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -182,8 +182,6 @@ class RscTypCont RscTop * pClassColor, RscCont * pStrLst ); RscTop * InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit, RscArray * pLangGeo ); - RscTop * InitClassSystemWindow( RscTop * pSuper ); - RscTop * InitClassWorkWindow( RscTop * pSuper ); RscTop * InitClassControl( RscTop * pSuper ); RscTop * InitClassCheckBox( RscTop * pSuper ); RscTop * InitClassPushButton( RscTop * pSuper ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index cb8648c673f2..fc13647fb4c0 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -302,60 +302,6 @@ RscTop * RscTypCont::InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit, return pClassWindow; } -RscTop * RscTypCont::InitClassSystemWindow( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassSystemWindow; - - // initialize class - nId = pHS->getID( "SystemWindow" ); - pClassSystemWindow = new RscClass( nId, RSC_SYSWINDOW, pSuper ); - pClassSystemWindow->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassSystemWindow ); - - INS_WINBIT(pClassSystemWindow,Sizeable) - INS_WINBIT(pClassSystemWindow,Moveable) - InsWinBit( pClassSystemWindow, "Minable", nMinimizeId ); - InsWinBit( pClassSystemWindow, "Maxable", nMaximizeId ); - INS_WINBIT(pClassSystemWindow,Closeable) - INS_WINBIT(pClassSystemWindow,App) - INS_WINBIT(pClassSystemWindow,SysWin) - - return pClassSystemWindow ; -} - -RscTop * RscTypCont::InitClassWorkWindow( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassWorkWindow; - - // initialize class - nId = pHS->getID( "WorkWindow" ); - pClassWorkWindow = new RscClass( nId, RSC_WORKWIN, pSuper ); - pClassWorkWindow->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - - aNmTb.Put( nId, CLASSNAME, pClassWorkWindow ); - - // initialize variables - { - Atom nVarId; - RscEnum * pShow; - - aBaseLst.push_back( pShow = new RscEnum( pHS->getID( "EnumShowState" ), RSC_NOTYPE ) ); - - SETCONST( pShow, "SHOW_NORMAL", WORKWIN_SHOWNORMAL ); - SETCONST( pShow, "SHOW_MINIMIZED", WORKWIN_SHOWMINIMIZED ); - SETCONST( pShow, "SHOW_MAXIMIZED", WORKWIN_SHOWMAXIMIZED ); - - - // add variable - nVarId = aNmTb.Put( "Show", VARNAME ); - pClassWorkWindow->SetVariable( nVarId, pShow ); - } - - return pClassWorkWindow; -} - RscTop * RscTypCont::InitClassControl( RscTop * pSuper ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index b796c62d45a5..e7a55ac14210 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -66,8 +66,6 @@ void RscTypCont::Init() RscTop * pClassImage; RscTop * pClassImageList; RscTop * pClassWindow; - RscTop * pClassSystemWindow; - RscTop * pClassWorkWindow; RscTop * pClassControl; RscTop * pClassButton; RscTop * pClassCheckBox; @@ -309,15 +307,6 @@ void RscTypCont::Init() pRoot->Insert( pClassWindow ); } { - - pClassSystemWindow = InitClassSystemWindow( pClassWindow ); - //aBaseLst.Insert( pClassSystemWindow, LIST_APPEND ); - pRoot->Insert( pClassSystemWindow ); - - pClassWorkWindow = InitClassWorkWindow( pClassSystemWindow ); - pRoot->Insert( pClassWorkWindow ); -} -{ pClassControl = InitClassControl( pClassWindow ); pRoot->Insert( pClassControl ); |