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

Stephan Bergmann sbergman at redhat.com
Tue Nov 17 07:28:59 PST 2015


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

New commits:
commit b45aef86fa5b7d5d9c8fa7bd7098a1ea74aae58e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 17 16:28:33 2015 +0100

    Improve comment
    
    Change-Id: I25931d59fc1b4feb1fd1eaa036a64a28a269f409

diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index a1336cc..fd8d2a0 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -134,7 +134,8 @@ public:
                 || name == "g_pHyphIter" // SwEditShell::HyphEnd()
                 || name == "pFieldEditEngine" // ScGlobal::Clear()
                 || name == "xDrawClipDocShellRef" // ScGlobal::Clear()
-                || name == "instance" // ImplImageTree::get()
+                || name == "instance"
+                    // ImplImageTree::get(), ImplImageTree::shutDown()
                ) // these variables appear unproblematic
             {
                 return true;


More information about the Libreoffice-commits mailing list