summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-16 13:33:30 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 08:19:32 +0200
commitbc9d5eb566137351969c58f907a2dc98273a6bf8 (patch)
treea319c8b981ac128efea4315c9469786168c15844 /editeng
parent7ffa2184586a2339f80f0af41c303dad9e822390 (diff)
convert Link<> to typed
Change-Id: Ida49b6a482efa12703ce294b9665273ad2d8f68b
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/outliner/outleeng.hxx2
-rw-r--r--editeng/source/outliner/outlin2.cxx2
-rw-r--r--editeng/source/outliner/outliner.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/outliner/outleeng.hxx b/editeng/source/outliner/outleeng.hxx
index a7b40beef188..1ac87acd176a 100644
--- a/editeng/source/outliner/outleeng.hxx
+++ b/editeng/source/outliner/outleeng.hxx
@@ -80,7 +80,7 @@ public:
virtual void SetParaAttribs( sal_Int32 nPara, const SfxItemSet& rSet ) SAL_OVERRIDE;
// belongs into class Outliner, move there before incompatible update!
- Link<> aOutlinerNotifyHdl;
+ Link<EENotify&,void> aOutlinerNotifyHdl;
NotifyList aNotifyCache;
};
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx
index 745c307985dc..365e346f11e0 100644
--- a/editeng/source/outliner/outlin2.cxx
+++ b/editeng/source/outliner/outlin2.cxx
@@ -118,7 +118,7 @@ Link<LinkParamNone*,void> Outliner::GetModifyHdl() const
return pEditEngine->GetModifyHdl();
}
-void Outliner::SetNotifyHdl( const Link<>& rLink )
+void Outliner::SetNotifyHdl( const Link<EENotify&,void>& rLink )
{
pEditEngine->aOutlinerNotifyHdl = rLink;
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 8f740b5c1b7d..c3c86b83c534 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -2001,7 +2001,7 @@ void Outliner::ImplBlockInsertionCallbacks( bool b )
EENotify aNotify(pEditEngine->aNotifyCache.front());
// Remove from list before calling, maybe we enter LeaveBlockNotifications while calling the handler...
pEditEngine->aNotifyCache.erase(pEditEngine->aNotifyCache.begin());
- pEditEngine->aOutlinerNotifyHdl.Call( &aNotify );
+ pEditEngine->aOutlinerNotifyHdl.Call( aNotify );
}
}
}
@@ -2010,7 +2010,7 @@ void Outliner::ImplBlockInsertionCallbacks( bool b )
IMPL_LINK_TYPED( Outliner, EditEngineNotifyHdl, EENotify&, rNotify, void )
{
if ( !nBlockInsCallback )
- pEditEngine->aOutlinerNotifyHdl.Call( &rNotify );
+ pEditEngine->aOutlinerNotifyHdl.Call( rNotify );
else
pEditEngine->aNotifyCache.push_back(rNotify);
}