compilerplugins/clang/badstatics.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 27b45cc23c7b8ea8a62e1fc901279fb3f09ae274
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Nov 17 21:31:46 2015 +0100

    Work around loplguins:badstatics
    
    Change-Id: I597dbc3e4288acb5b71f7a344ae78ba568451614

diff --git a/compilerplugins/clang/badstatics.cxx 
b/compilerplugins/clang/badstatics.cxx
index 03f0a27..942b331 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -144,6 +144,8 @@ public:
                 || name == "s_pCaptureFrame" // vcl/osx/salframe.cxx, not 
owning
                 || name == "pBlink"
                     // sw/source/core/text/blink.cxx, _TextFinit()
+                || name == "mpInstance"
+                    // sd/source/ui/tools/IconCache.cxx, leaked
                ) // these variables appear unproblematic
             {
                 return true;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to