loplugin:badstatics
ScAddInListener has a member ScAddInDocs* pDocs; // documents where this is used where ScAddInDocs is set<ScDocument*>, and ScDocument has a memmber VclPtr<SfxPrinter> pPrinter; so that's only a chain of (apparently non-owning) pointers. Change-Id: I050218320eb2c588dcfaee80225f4e45a515ed32 Reviewed-on: https://gerrit.libreoffice.org/29613 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -150,6 +150,8 @@ public:
|
||||
// ScAddInAsync* keys if that set is not empty at exit
|
||||
|| name == "g_aWindowList"
|
||||
//vcl/unx/gtk/a11y/atkutil.cxx, asserted empty at exit
|
||||
|| (loplugin::DeclCheck(pVarDecl).Var("aAllListeners")
|
||||
.Class("ScAddInListener").GlobalNamespace()) // not owning
|
||||
) // these variables appear unproblematic
|
||||
{
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user