[Libreoffice-commits] core.git: sc/source
Noel Grandin
noel at peralex.com
Wed Jun 1 11:24:03 UTC 2016
sc/source/ui/cctrl/cbnumberformat.cxx | 2 +-
sc/source/ui/inc/cbnumberformat.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2c7d40a635f15bb6bd1907959854f3e74b1a5f78
Author: Noel Grandin <noel at peralex.com>
Date: Wed Jun 1 13:22:55 2016 +0200
loplugin:staticmethods
Change-Id: I3c8d34e6b9dabed3bef4c6e3628830c526eff5b3
diff --git a/sc/source/ui/cctrl/cbnumberformat.cxx b/sc/source/ui/cctrl/cbnumberformat.cxx
index 8e4e7c9..591b2ec 100644
--- a/sc/source/ui/cctrl/cbnumberformat.cxx
+++ b/sc/source/ui/cctrl/cbnumberformat.cxx
@@ -42,7 +42,7 @@ ScNumberFormat::ScNumberFormat(vcl::Window* pParent, WinBits nStyle) :
InsertEntry(ScGlobal::GetRscString(STR_TEXT));
}
-IMPL_LINK_TYPED(ScNumberFormat, NumFormatSelectHdl, ListBox&, rBox, void)
+IMPL_STATIC_LINK_TYPED(ScNumberFormat, NumFormatSelectHdl, ListBox&, rBox, void)
{
if(SfxViewFrame::Current())
{
diff --git a/sc/source/ui/inc/cbnumberformat.hxx b/sc/source/ui/inc/cbnumberformat.hxx
index b52cc94..f593ccf 100644
--- a/sc/source/ui/inc/cbnumberformat.hxx
+++ b/sc/source/ui/inc/cbnumberformat.hxx
@@ -28,7 +28,7 @@ public:
explicit ScNumberFormat(vcl::Window* pParent, WinBits nStyle);
private:
- DECL_LINK_TYPED(NumFormatSelectHdl, ListBox&, void);
+ DECL_STATIC_LINK_TYPED(ScNumberFormat, NumFormatSelectHdl, ListBox&, void);
};
#endif
More information about the Libreoffice-commits
mailing list