sw: move some globals in fetab.cxx into SwFEShell
It looks like the main point of these being globals is so that they can be cleared from various places when tables or table frames are destroyed. Add a SwDoc parameter to ClearFEShellTabCols() and just iterate over all shells. Change-Id: I75ad6b695ee1bfa76b9a05c606b07a3574c70ac4
This commit is contained in:
@@ -168,10 +168,6 @@ public:
|
||||
|| name == "s_pVout" // FrameFinit()
|
||||
|| name == "s_pPaintQueue" // SwPaintQueue::Remove()
|
||||
|| name == "gProp" // only owned (VclPtr) member cleared again
|
||||
|| name == "g_pColumnCacheLastTabFrame" // not owning
|
||||
|| name == "g_pColumnCacheLastCellFrame" // not owning
|
||||
|| name == "g_pRowCacheLastTabFrame" // not owning
|
||||
|| name == "g_pRowCacheLastCellFrame" // not owning
|
||||
|| name == "g_OszCtrl" // SwCrsrOszControl::Exit()
|
||||
|| name == "g_pSpellIter" // SwEditShell::SpellEnd()
|
||||
|| name == "g_pConvIter" // SwEditShell::SpellEnd()
|
||||
|
Reference in New Issue
Block a user