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:
Michael Stahl
2018-01-04 11:37:37 +01:00
parent 1bf8c74c0d
commit 334601603a
13 changed files with 117 additions and 134 deletions

View File

@@ -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()