summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2024-12-03 13:25:04 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2024-12-10 12:15:42 +0100
commit969f242f2e63deef3609809dbc2d70eeb40d81f4 (patch)
tree0ca228e1a7928d7f34163b5ae69c89506c9e009e /compilerplugins
parent3faa61452a67bca97d223ee59748ac7b469cdd48 (diff)
jsdialog: share code for widget registry
- move all helpers for widgets registration into separate file - share code for Widgets, Menu and Popup register Change-Id: I3449721d7e436ff4459edb7990c1af860b78054f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177738 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178205 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/badstatics.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 3a69f78caef8..bb4663f71e35 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -208,8 +208,11 @@ public:
|| (loplugin::DeclCheck(pVarDecl).Var("maThreadSpecific")
.Class("ScDocument").GlobalNamespace()) // not owning
|| name == "s_aLOKWindowsMap" // LOK only, guarded by assert, and LOK never tries to perform a VCL cleanup
- || name == "s_aLOKWeldBuildersMap" // LOK only, similar case as above
- || name == "s_aLOKPopupsMap" // LOK only, similar case as above
+ // vcl/inc/jsdialog/jsdialogbuilder.hxx
+ || name == "m_aWidgets" // LOK only, similar case as above
+ || name == "m_aPopups" // LOK only, similar case as above
+ || name == "m_aMenus" // LOK only, similar case as above
+ //
|| name == "gNotebookBarManager" // LOK only case, when notebookbar is closed - VclPtr instance is removed
|| name == "gStaticManager" // vcl/source/graphic/Manager.cxx - stores non-owning pointers
|| name == "aThreadedInterpreterPool" // ScInterpreterContext(Pool), not owning