diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-25 20:06:26 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-27 08:31:49 +0000 |
commit | c8754b38ce205845aad5cde3c5ad4070ce38f7d5 (patch) | |
tree | 6023cfb5e9e7e64029973908bd07decd4b5e72d2 /rsc/source/parser | |
parent | a9d2302d4d0732a0c1203bbb7c0182b8de59403d (diff) |
remove unused RSC_DOCKWINDOW flags
Change-Id: I2e2d82760b10876a7cf2a8cfb375926eb24d23e4
Reviewed-on: https://gerrit.libreoffice.org/25462
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc/source/parser')
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 17 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 2 |
2 files changed, 2 insertions, 17 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index ae3b865b481a..30a56b499977 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -897,8 +897,7 @@ RscTop * RscTypCont::InitClassMetricField( RscTop * pSuper ) return pClassMetricField; } -RscTop * RscTypCont::InitClassDockingWindow( RscTop * pSuper, - RscEnum * pMapUnit ) +RscTop * RscTypCont::InitClassDockingWindow( RscTop * pSuper ) { Atom nId; RscTop * pClassDockWindow; @@ -909,20 +908,6 @@ RscTop * RscTypCont::InitClassDockingWindow( RscTop * 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) diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index eb02f71f26f3..6edee4c550bf 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -410,7 +410,7 @@ void RscTypCont::Init() } } { - RscTop* pClassDockingWindow = InitClassDockingWindow( pClassWindow, pMapUnit ); + RscTop* pClassDockingWindow = InitClassDockingWindow( pClassWindow ); pRoot->Insert( pClassDockingWindow ); RscTop* pClassToolBoxItem = InitClassToolBoxItem( pClassMgr, pClassBitmap, |