diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-09 21:29:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-10 11:25:45 +0200 |
commit | 3ae4264a0db7f725abc33779ec9b11a45e17e279 (patch) | |
tree | 0806831b04042c0f2f5bc07dae313959772a0b5c /sfx2/source/dialog | |
parent | 65d999d2bc0ace788f0d3fc1abdfe1ce6ccd012a (diff) |
Replace IMPL_STATIC_LINK[_TYPED] with more useful variants
Change-Id: Iee6d0493172b7b776ac8c5b05f675cd28091f8b4
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/tplcitem.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/dialog/tplcitem.cxx b/sfx2/source/dialog/tplcitem.cxx index 8568ac54906a..0f715272b847 100644 --- a/sfx2/source/dialog/tplcitem.cxx +++ b/sfx2/source/dialog/tplcitem.cxx @@ -154,19 +154,19 @@ void SfxTemplateControllerItem::StateChanged( sal_uInt16 nSID, SfxItemState eSta } } -IMPL_STATIC_LINK(SfxTemplateControllerItem, SetWaterCanStateHdl_Impl, +IMPL_LINK(SfxTemplateControllerItem, SetWaterCanStateHdl_Impl, SfxTemplateControllerItem*, EMPTYARG) { - pThis->nUserEventId = 0; + nUserEventId = 0; SfxBoolItem* pState = 0; - switch(pThis->nWaterCanState) + switch(nWaterCanState) { case 0 : case 1 : - pState = new SfxBoolItem(SID_STYLE_WATERCAN, pThis->nWaterCanState != 0); + pState = new SfxBoolItem(SID_STYLE_WATERCAN, nWaterCanState != 0); break; } - pThis->rTemplateDlg.SetWaterCanState(pState); + rTemplateDlg.SetWaterCanState(pState); delete pState; return 0; } |