summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-26 14:41:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-26 18:32:20 +0100
commit83ad0fe65f97e879ed65a72b789a86028caec1f2 (patch)
tree8ed684a475e38db6f4cb771a2441186835460271 /cui
parent59c1beb96f93e75a67c6c00cc043498abfa16ba4 (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>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx2
-rw-r--r--cui/source/options/optgdlg.hxx2
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;