Kaydet (Commit) eb63709c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Replace IMPL_STATIC_LINK[_TYPED] with more useful variants

Change-Id: I356c56f5025b1cef4861bb6208ef4f0b04ddf605
üst 39707f94
......@@ -103,7 +103,7 @@ class ScContentTree : public SvTreeListBox
ScDocument* GetSourceDocument();
DECL_LINK( ContentDoubleClickHdl, void* );
DECL_STATIC_LINK( ScContentTree, ExecDragHdl, void* );
DECL_LINK( ExecDragHdl, void* );
public:
SvTreeListEntry* pTmpEntry;
bool m_bFirstPaint;
......
......@@ -1447,12 +1447,12 @@ void ScContentTree::DoDrag()
delete pDocLoader; // falls Dokument zum Draggen geladen wurde
}
IMPL_STATIC_LINK(ScContentTree, ExecDragHdl, void*, EMPTYARG)
IMPL_LINK_NOARG(ScContentTree, ExecDragHdl)
{
// als Link, damit asynchron ohne ImpMouseMoveMsg auf dem Stack auch der
// Navigator geloescht werden darf
pThis->DoDrag();
DoDrag();
return 0;
}
......
......@@ -927,10 +927,8 @@ void ScPreview::StaticInvalidate()
rBindings.Invalidate(SID_ATTR_ZOOMSLIDER);
}
IMPL_STATIC_LINK( ScPreview, InvalidateHdl, void*, EMPTYARG )
IMPL_STATIC_LINK_NOINSTANCE_NOARG( ScPreview, InvalidateHdl )
{
(void)pThis; // avoid warning
StaticInvalidate();
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment