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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 26 17:33:38 UTC 2019


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

New commits:
commit 83ad0fe65f97e879ed65a72b789a86028caec1f2
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Nov 26 14:41:48 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Nov 26 18:32:20 2019 +0100

    loplugin:staticmethods (clang-cl)
    
    Change-Id: Ie3b1e7d8a048bc161770bfb01f4d94e14a3fdea9
    Reviewed-on: https://gerrit.libreoffice.org/83768
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index c9a548c8c192..17d3c6456967 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -443,7 +443,7 @@ IMPL_LINK_NOARG( OfaMiscTabPage, TwoFigureHdl, weld::SpinButton&, void )
 }
 
 #if defined(_WIN32)
-IMPL_LINK_NOARG(OfaMiscTabPage, FileAssocClick, weld::Button&, void)
+IMPL_STATIC_LINK_NOARG(OfaMiscTabPage, FileAssocClick, weld::Button&, void)
 {
     const bool bUninit = SUCCEEDED(CoInitialize(nullptr));
     IApplicationAssociationRegistrationUI* pIf = nullptr;
diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx
index 392554f6e8dd..7e83ec55d851 100644
--- a/cui/source/options/optgdlg.hxx
+++ b/cui/source/options/optgdlg.hxx
@@ -61,7 +61,7 @@ private:
 
     DECL_LINK(TwoFigureHdl, weld::SpinButton&, void);
 #if defined(_WIN32)
-    DECL_LINK(FileAssocClick, weld::Button&, void);
+    DECL_STATIC_LINK(OfaMiscTabPage, FileAssocClick, weld::Button&, void);
 #endif
 protected:
     virtual DeactivateRC   DeactivatePage( SfxItemSet* pSet ) override;


More information about the Libreoffice-commits mailing list