diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-27 14:49:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-28 07:08:47 +0000 |
commit | 89687d651eabcf64816c1b25defe38c7b68dd468 (patch) | |
tree | aa7e6f0848424d408a992815feab4f3e6ee6495d /sd/source/ui/annotations/annotationwindow.cxx | |
parent | 24360897c05da1ff7c4854ba192eb98466f4499b (diff) |
loplugin:expandablemethods in sd
Change-Id: I87a537928bdf42285448bba7cb50c497f2637c3c
Reviewed-on: https://gerrit.libreoffice.org/30330
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/annotations/annotationwindow.cxx')
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index 5666ff46af84..4e7dfc1fa6f1 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -353,7 +353,7 @@ void AnnotationWindow::InitControls() Invalidate(); - SetLanguage(GetLanguage()); + SetLanguage(SvxLanguageItem( Doc()->GetLanguage( EE_CHAR_LANGUAGE ), SID_ATTR_LANGUAGE )); mpMeta->Show(); mpVScrollbar->Show(); @@ -494,11 +494,6 @@ IMPL_LINK(AnnotationWindow, ScrollHdl, ScrollBar*, pScroll, void) getView()->Scroll( 0, nDiff ); } -SvxLanguageItem AnnotationWindow::GetLanguage() -{ - return SvxLanguageItem( Doc()->GetLanguage( EE_CHAR_LANGUAGE ), SID_ATTR_LANGUAGE ); -} - TextApiObject* getTextApiObject( const Reference< XAnnotation >& xAnnotation ) { if( xAnnotation.is() ) |