summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-12-25 15:55:45 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-27 10:06:50 +0100
commitdb97e00893c204226a2eab2d95c9837bce3cddb0 (patch)
tree1e0f9c2bc74b3e79a73685715e9320fcce2b2b71 /cui/source
parent78552cb9b167a677952bf80eb0c7af62baaf015a (diff)
Drop some unnecessary HDL macros
Change-Id: I48586a9648183df2ecd18f15a596a23c36aa15f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108359 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/numfmt.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 5a6436e8998b..6ff9acdb5641 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -190,8 +190,6 @@ void SvxNumberPreview::Paint(vcl::RenderContext& rRenderContext, const ::tools::
m_xLbLanguage->set_active_id(pNumFmtShell->GetCurLanguage()); \
}
-#define HDL(hdl) LINK( this, SvxNumberFormatTabPage, hdl )
-
SvxNumberFormatTabPage::SvxNumberFormatTabPage(weld::Container* pPage, weld::DialogController* pController,
const SfxItemSet& rCoreAttrs)
: SfxTabPage(pPage, pController, "cui/ui/numberingformatpage.ui", "NumberingFormatPage", &rCoreAttrs)
@@ -297,14 +295,14 @@ void SvxNumberFormatTabPage::Init_Impl()
m_xBtnThousand->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
m_xBtnEngineering->connect_clicked(LINK(this, SvxNumberFormatTabPage, OptClickHdl_Impl));
m_xBtnEngineering->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
- m_xLbFormat->connect_row_activated(HDL(DoubleClickHdl_Impl));
- m_xEdFormat->connect_changed(HDL(EditModifyHdl_Impl));
+ m_xLbFormat->connect_row_activated(LINK(this, SvxNumberFormatTabPage, DoubleClickHdl_Impl));
+ m_xEdFormat->connect_changed(LINK(this, SvxNumberFormatTabPage, EditModifyHdl_Impl));
m_xEdFormat->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
- m_xIbAdd->connect_clicked(HDL(ClickHdl_Impl));
+ m_xIbAdd->connect_clicked(LINK(this, SvxNumberFormatTabPage, ClickHdl_Impl));
m_xIbAdd->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
- m_xIbRemove->connect_clicked(HDL(ClickHdl_Impl));
+ m_xIbRemove->connect_clicked(LINK(this, SvxNumberFormatTabPage, ClickHdl_Impl));
m_xIbRemove->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
- m_xIbInfo->connect_clicked(HDL(ClickHdl_Impl));
+ m_xIbInfo->connect_clicked(LINK(this, SvxNumberFormatTabPage, ClickHdl_Impl));
UpdateThousandEngineeringCheckBox();
UpdateDecimalsDenominatorEditBox();