diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-22 09:59:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-22 09:59:46 +0200 |
commit | 24600dcf3118cb01d57c31518d36be870f73e79c (patch) | |
tree | a52948f34190ca54071d7d457b91471fb1703ad7 /sd/source/ui/annotations/annotationwindow.cxx | |
parent | 83eb114394879cbfd073322a51c47d02553c1fcf (diff) |
loplugin:constantfunction
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
Diffstat (limited to 'sd/source/ui/annotations/annotationwindow.cxx')
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index bcad03da6ab8..da40225e5eb8 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -361,7 +361,6 @@ void AnnotationWindow::InitControls() Engine()->ClearModifyFlag(); Engine()->GetUndoManager().Clear(); Engine()->EnableUndo( true ); - Engine()->SetModifyHdl( LINK( this, AnnotationWindow, ModifyHdl ) ); Invalidate(); @@ -486,7 +485,6 @@ void AnnotationWindow::SetLanguage(const SvxLanguageItem &aNewItem) getView()->SetAttribs( aEditAttr ); getView()->SetSelection(aOld); - Engine()->SetModifyHdl( LINK( this, AnnotationWindow, ModifyHdl ) ); Invalidate(); } @@ -513,11 +511,6 @@ IMPL_LINK(AnnotationWindow, ScrollHdl, ScrollBar*, pScroll) return 0; } -IMPL_STATIC_LINK_NOARG(AnnotationWindow, ModifyHdl) -{ - return 0; -} - SvxLanguageItem AnnotationWindow::GetLanguage() { return SvxLanguageItem( Doc()->GetLanguage( EE_CHAR_LANGUAGE ), SID_ATTR_LANGUAGE ); @@ -553,7 +546,6 @@ void AnnotationWindow::setAnnotation( const Reference< XAnnotation >& xAnnotatio Engine()->SetText( *pOPO.get() ); } - Engine()->SetModifyHdl( LINK( this, AnnotationWindow, ModifyHdl ) ); Engine()->ClearModifyFlag(); Engine()->GetUndoManager().Clear(); |