summaryrefslogtreecommitdiff
path: root/basctl/source/basicide
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-08 11:13:25 +0200
committerNoel Grandin <noel@peralex.com>2015-09-09 10:06:12 +0200
commit6f4e11a95bcd7a591cb93d1a842bbc8ad1ed31c9 (patch)
tree139df8cac0eb95a75844bec5b400affb669cc417 /basctl/source/basicide
parentf73144801474aa4b3d6b997ceab7fabae8bfc3e7 (diff)
convert Link<> to typed
Change-Id: I2aeda615e39db5a3cd39e168db34425e2912be8b
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r--basctl/source/basicide/baside3.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx
index 67a20c4b5b2d..92d6837f83ee 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -46,6 +46,7 @@
#include <svl/aeitem.hxx>
#include <svl/visitem.hxx>
#include <svl/whiter.hxx>
+#include <svx/svdundo.hxx>
#include <tools/diagnose_ex.h>
#include <tools/urlobj.hxx>
#include <vcl/layout.hxx>
@@ -210,17 +211,13 @@ void DialogWindow::Command( const CommandEvent& rCEvt )
}
-
-
-IMPL_STATIC_LINK(
- DialogWindow, NotifyUndoActionHdl, SfxUndoAction *, pUndoAction )
+IMPL_STATIC_LINK_TYPED(
+ DialogWindow, NotifyUndoActionHdl, SdrUndoAction *, pUndoAction, void )
{
// #i120515# pUndoAction needs to be deleted, this hand over is an ownership
// change. As long as it does not get added to the undo manager, it needs at
// least to be deleted.
delete pUndoAction;
-
- return 0;
}
void DialogWindow::DoInit()