diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-12 10:28:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-12 11:38:00 +0100 |
commit | 540b7d3ae4ee9fa4b46d2af6261e44de6bd4d462 (patch) | |
tree | 3d66fc7fee91202ca0ab2adb9a2ebb3245caee99 /rsc | |
parent | 7091666cb9955683eabacaf329c66f10fe29eeb2 (diff) |
drop RSC_DOCKINGWINDOW*
Change-Id: Ibcddc2def40e15f4a2f92fec13c1c3fd2f824d68
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rscdb.hxx | 2 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 37 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 3 |
3 files changed, 0 insertions, 42 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index 2500f2db5004..5536b04b4725 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -191,8 +191,6 @@ class RscTypCont RscTop * InitClassMenuItem( RscTop * pSuper ); RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem ); - RscTop * InitClassDockingWindow( RscTop * pSuper, - RscEnum * pMapUnit ); RscTop * InitClassSfxStyleFamilyItem( RscTop * pSuper, RscTop * pClassBitmap, RscTop * pClassImage, diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 1908e0d9698f..e2514b8bc321 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -664,43 +664,6 @@ RscTop * RscTypCont::InitClassMenu( RscTop * pSuper, return pClassMenu; } -RscTop * RscTypCont::InitClassDockingWindow( RscTop * pSuper, - RscEnum * pMapUnit ) -{ - Atom nId; - RscTop * pClassDockWindow; - - // initialize class - nId = pHS->getID( "DockingWindow" ); - pClassDockWindow = new RscClass( nId, RSC_DOCKINGWINDOW, pSuper ); - pClassDockWindow->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassDockWindow ); - - // initialize variables - nId = aNmTb.Put( "_FloatingPosMapMode", VARNAME ); - pClassDockWindow->SetVariable( nId, pMapUnit, nullptr, 0, - RSC_DOCKINGWINDOW_XYMAPMODE ); - nId = aNmTb.Put( "_FloatingPosX", VARNAME ); - pClassDockWindow->SetVariable( nId, &aShort, nullptr, 0, - RSC_DOCKINGWINDOW_X ); - nId = aNmTb.Put( "_FloatingPosY", VARNAME ); - pClassDockWindow->SetVariable( nId, &aShort, nullptr, 0, - RSC_DOCKINGWINDOW_Y ); - nId = aNmTb.Put( "FloatingMode", VARNAME ); - pClassDockWindow->SetVariable( nId, &aBool, nullptr, 0, - RSC_DOCKINGWINDOW_FLOATING ); - - INS_WINBIT(pClassDockWindow,Moveable) - INS_WINBIT(pClassDockWindow,Sizeable) - INS_WINBIT(pClassDockWindow,EnableResizing) - INS_WINBIT(pClassDockWindow,Closeable) - INS_WINBIT(pClassDockWindow,HideWhenDeactivate); - INS_WINBIT(pClassDockWindow,Zoomable); - INS_WINBIT(pClassDockWindow,Dockable); - - return pClassDockWindow; -} - RscTop * RscTypCont::InitClassSfxStyleFamilyItem( RscTop * pSuper, RscTop * pClassBitmap, RscTop * pClassImage, diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 14730fdd00f8..78126c4d948b 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -345,9 +345,6 @@ void RscTypCont::Init() (sal_uInt32)RscMenuItem::Menu ); } { - RscTop* pClassDockingWindow = InitClassDockingWindow( pClassWindow, pMapUnit ); - pRoot->Insert( pClassDockingWindow ); - RscTop* pClassSfxStyleFamilyItem = InitClassSfxStyleFamilyItem( pClassMgr, pClassBitmap, pClassImage, |