[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Tue Nov 17 10:39:12 PST 2015


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

New commits:
commit 60c51ac007e047a497eea1093f611df0467a5ceb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 17 19:38:41 2015 +0100

    Work around loplguins:badstatics
    
    Change-Id: I9d8d0f6cc001de09d8d3f96d8ad7e243e07f426d

diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 9f4841d..03f0a27 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -142,6 +142,8 @@ public:
                     // vcl/osx/salmenu.cxx, AquaSalMenu::set/unsetMainMenu, not
                     // owning
                 || name == "s_pCaptureFrame" // vcl/osx/salframe.cxx, not owning
+                || name == "pBlink"
+                    // sw/source/core/text/blink.cxx, _TextFinit()
                ) // these variables appear unproblematic
             {
                 return true;


More information about the Libreoffice-commits mailing list