summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/badstatics.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/badstatics.cxx')
-rw-r--r--compilerplugins/clang/badstatics.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index ecc930093a3a..d3fc83127fde 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -146,13 +146,9 @@ public:
{
return true;
}
- // TODO: check these VclPtr<> static fields
- if ( name == "xPreviousWindow" // vcl/source/window/winproc.cxx
- || name == "vDev" // sdext/source/pdfimport/wrapper/wrapper.cxx
- || name == "s_xEmptyController" // svx/source/fmcomp/gridcell.cxx
+ // these two are fairly harmless because they're both empty objects
+ if ( name == "s_xEmptyController" // svx/source/fmcomp/gridcell.cxx
|| name == "xCell" // svx/source/table/svdotable.cxx
- || name == "pPixOut" // sw/source/core/txtnode/fntcache.cxx
- || name == "mpCareWindow" // sw/source/core/view/viewsh.cxx
)
{
return true;