summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/badstatics.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 5f1edea78476..737330dd10c0 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -210,6 +210,10 @@ public:
|| name == "aNonThreadedInterpreterPool" // ScInterpreterContext(Pool), not owning
|| name == "lcl_parserContext" // getParserContext(), the chain from this to a VclPtr is not owning
|| name == "aReaderWriter" // /home/noel/libo/sw/source/filter/basflt/fltini.cxx, non-owning
+ || name == "aTwain"
+ // Windows-only extensions/source/scanner/scanwin.cxx, problematic
+ // Twain::mpThread -> ShimListenerThread::mxTopWindow released via Twain::Reset
+ // clearing mpThread
) // these variables appear unproblematic
{
return true;