diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-08 11:13:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-09 10:06:12 +0200 |
commit | 6f4e11a95bcd7a591cb93d1a842bbc8ad1ed31c9 (patch) | |
tree | 139df8cac0eb95a75844bec5b400affb669cc417 /sc/source | |
parent | f73144801474aa4b3d6b997ceab7fabae8bfc3e7 (diff) |
convert Link<> to typed
Change-Id: I2aeda615e39db5a3cd39e168db34425e2912be8b
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/docfunc.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 4ba25063eb3d..e8d6a7832847 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -101,7 +101,7 @@ using ::std::vector; // STATIC DATA ----------------------------------------------------------- -IMPL_LINK( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction ) +IMPL_LINK_TYPED( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction, void ) { // #i101118# if drawing layer collects the undo actions, add it there ScDrawLayer* pDrawLayer = rDocShell.GetDocument().GetDrawLayer(); @@ -117,8 +117,6 @@ IMPL_LINK( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction ) for (SCTAB nTab=0; nTab<nTabCount; nTab++) if (rDoc.IsStreamValid(nTab)) rDoc.SetStreamValid(nTab, false); - - return 0; } // Zeile ueber dem Range painten (fuer Linien nach AdjustRowHeight) diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx index 07091c4fd1b6..6d9c032f2e2e 100644 --- a/sc/source/ui/inc/docfunc.hxx +++ b/sc/source/ui/inc/docfunc.hxx @@ -68,7 +68,7 @@ protected: public: virtual ~ScDocFunc() {} - DECL_LINK( NotifyDrawUndo, SdrUndoAction* ); + DECL_LINK_TYPED( NotifyDrawUndo, SdrUndoAction*, void ); // for grouping multiple operations into one with a new name void EnterListAction( sal_uInt16 nNameResId ); |