diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-26 14:41:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-26 18:32:20 +0100 |
commit | 83ad0fe65f97e879ed65a72b789a86028caec1f2 (patch) | |
tree | 8ed684a475e38db6f4cb771a2441186835460271 | |
parent | 59c1beb96f93e75a67c6c00cc043498abfa16ba4 (diff) |
loplugin:staticmethods (clang-cl)
Change-Id: Ie3b1e7d8a048bc161770bfb01f4d94e14a3fdea9
Reviewed-on: https://gerrit.libreoffice.org/83768
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | cui/source/options/optgdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optgdlg.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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; |