summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-01-04 11:37:37 +0100
committerMichael Stahl <mstahl@redhat.com>2018-01-04 12:12:12 +0100
commit334601603aa04ea968e8a850f4e7f6cf52f7735b (patch)
tree6dc0bc02b83b4b618b059391b99c31b83d1c2b2e /compilerplugins
parent1bf8c74c0d0a78086b0688070bd375567344bb35 (diff)
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
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/badstatics.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index bf3f4be4b66f..697a50c8f9b0 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -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()