summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-16 13:02:21 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 08:19:32 +0200
commit7ffa2184586a2339f80f0af41c303dad9e822390 (patch)
tree292c4f9a77e71a78058795c2e22e184fa86f1829 /include
parent81bec2e5535aeef7d6ae76f92124537d528f5c23 (diff)
convert Link<> to typed
Change-Id: I93017f16affe16e8e452cd829bc4f9b495670d4d
Diffstat (limited to 'include')
-rw-r--r--include/editeng/editeng.hxx8
-rw-r--r--include/editeng/outliner.hxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index bb4444b2bf1a..419e1af67165 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -514,12 +514,12 @@ public:
static bool IsPrintable( sal_Unicode c ) { return ( ( c >= 32 ) && ( c != 127 ) ); }
static bool HasValidData( const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& rTransferable );
/** sets a link that is called at the beginning of a drag operation at an edit view */
- void SetBeginDropHdl( const Link<>& rLink );
- Link<> GetBeginDropHdl() const;
+ void SetBeginDropHdl( const Link<EditView*,void>& rLink );
+ Link<EditView*,void> GetBeginDropHdl() const;
/** sets a link that is called at the end of a drag operation at an edit view */
- void SetEndDropHdl( const Link<>& rLink );
- Link<> GetEndDropHdl() const;
+ void SetEndDropHdl( const Link<EditView*,void>& rLink );
+ Link<EditView*,void> GetEndDropHdl() const;
/// specifies if auto-correction should capitalize the first word or not (default is on)
void SetFirstWordCapitalization( bool bCapitalize );
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 78fd2dec88fa..1fecde8fa250 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -952,10 +952,10 @@ public:
void ApplyChangedSentence(EditView& rEditView, const svx::SpellPortions& rNewPortions, bool bRecheck );
/** sets a link that is called at the beginning of a drag operation at an edit view */
- void SetBeginDropHdl( const Link<>& rLink );
+ void SetBeginDropHdl( const Link<EditView*,void>& rLink );
/** sets a link that is called at the end of a drag operation at an edit view */
- void SetEndDropHdl( const Link<>& rLink );
+ void SetEndDropHdl( const Link<EditView*,void>& rLink );
/** sets a link that is called before a drop or paste operation. */
void SetBeginPasteOrDropHdl( const Link<PasteOrDropInfos*,void>& rLink );