[Libreoffice-commits] core.git: cui/source

Stephan Bergmann sbergman at redhat.com
Wed Jun 29 18:50:57 UTC 2016


 cui/source/options/optopencl.cxx |    2 +-
 cui/source/options/optopencl.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8775290658df28f331bfc2611a072fd691620417
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 29 20:50:28 2016 +0200

    loplugin:staticmethods
    
    Change-Id: I506f1e79a7500ab79dd0f199150949face091931

diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index 3fd5848..ec8f432 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -130,7 +130,7 @@ void SvxOpenCLTabPage::EnableOpenCLHdl(VclFrame* pFrame, bool aEnable)
 }
 
 
-IMPL_LINK_NOARG_TYPED(SvxOpenCLTabPage, EnableOpenCLHdl, Button*, void)
+IMPL_STATIC_LINK_NOARG_TYPED(SvxOpenCLTabPage, EnableOpenCLHdl, Button*, void)
 {
 }
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx
index f66f3f4..d637968 100644
--- a/cui/source/options/optopencl.hxx
+++ b/cui/source/options/optopencl.hxx
@@ -36,7 +36,7 @@ private:
 
     VclPtr<FixedText> clUsed;
 
-    DECL_LINK_TYPED(EnableOpenCLHdl, Button*, void);
+    DECL_STATIC_LINK_TYPED(SvxOpenCLTabPage, EnableOpenCLHdl, Button*, void);
 
     static void EnableOpenCLHdl(VclFrame* pFrame, bool aEnable);
 


More information about the Libreoffice-commits mailing list