diff options
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r-- | sd/source/ui/annotations/annotationmanager.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index 21614cd73662..1835d444bc3a 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -864,7 +864,7 @@ void AnnotationManagerImpl::DisposeTags() void AnnotationManagerImpl::addListener() { - Link aLink( LINK(this,AnnotationManagerImpl,EventMultiplexerListener) ); + Link<> aLink( LINK(this,AnnotationManagerImpl,EventMultiplexerListener) ); mrBase.GetEventMultiplexer()->AddEventListener ( aLink, tools::EventMultiplexerEvent::EID_EDIT_VIEW_SELECTION @@ -875,7 +875,7 @@ void AnnotationManagerImpl::addListener() void AnnotationManagerImpl::removeListener() { - Link aLink( LINK(this,AnnotationManagerImpl,EventMultiplexerListener) ); + Link<> aLink( LINK(this,AnnotationManagerImpl,EventMultiplexerListener) ); mrBase.GetEventMultiplexer()->RemoveEventListener( aLink ); } diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index d48fbae53d3b..c593325a9bd8 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -355,7 +355,7 @@ void AnnotationWindow::InitControls() nCntrl |= EEControlBits::PASTESPECIAL | EEControlBits::AUTOCORRECT | EEControlBits::USECHARATTRIBS | EEControlBits::NOCOLORS; mpOutliner->SetControlWord(nCntrl); - Engine()->SetModifyHdl( Link() ); + Engine()->SetModifyHdl( Link<>() ); Engine()->EnableUndo( false ); Engine()->ClearModifyFlag(); @@ -476,7 +476,7 @@ void AnnotationWindow::ResizeIfNecessary(long aOldHeight, long aNewHeight) void AnnotationWindow::SetLanguage(const SvxLanguageItem &aNewItem) { - Engine()->SetModifyHdl( Link() ); + Engine()->SetModifyHdl( Link<>() ); ESelection aOld = getView()->GetSelection(); ESelection aNewSelection( 0, 0, Engine()->GetParagraphCount()-1, EE_TEXTPOS_ALL ); |