summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/AnnotationWin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-16 11:48:03 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 08:19:32 +0200
commit81bec2e5535aeef7d6ae76f92124537d528f5c23 (patch)
tree121866ab62bb6b8286b078707098f16076389644 /sw/source/uibase/docvw/AnnotationWin.cxx
parentc784b1a339ab59b7cf5caacd10be5945ec3e0f9f (diff)
convert Link<> to typed
Change-Id: I87d4697fe032e3095406becdda026447edd1d68a
Diffstat (limited to 'sw/source/uibase/docvw/AnnotationWin.cxx')
-rw-r--r--sw/source/uibase/docvw/AnnotationWin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx
index f8a25e3e8795..ef2218179941 100644
--- a/sw/source/uibase/docvw/AnnotationWin.cxx
+++ b/sw/source/uibase/docvw/AnnotationWin.cxx
@@ -98,7 +98,7 @@ void SwAnnotationWin::SetPostItText()
ESelection aOrigSelection(GetOutlinerView()->GetEditView().GetSelection());
// get text from SwPostItField and insert into our textview
- Engine()->SetModifyHdl( Link<>() );
+ Engine()->SetModifyHdl( Link<LinkParamNone*,void>() );
Engine()->EnableUndo( false );
if( mpField->GetTextObject() )
Engine()->SetText( *mpField->GetTextObject() );
@@ -265,7 +265,7 @@ void SwAnnotationWin::InitAnswer(OutlinerParaObject* pText)
GetOutlinerView()->SetAttribs(DefaultItem());
// lets insert an undo step so the initial text can be easily deleted
// but do not use UpdateData() directly, would set modified state again and reentrance into Mgr
- Engine()->SetModifyHdl( Link<>() );
+ Engine()->SetModifyHdl( Link<LinkParamNone*,void>() );
IDocumentUndoRedo & rUndoRedo(
DocView().GetDocShell()->GetDoc()->GetIDocumentUndoRedo());
boost::scoped_ptr<SwField> pOldField;