diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-03 11:10:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-04 06:31:30 +0000 |
commit | 4ea70f87f7a2b61eda6e5ab1f48debf6fcfadc1f (patch) | |
tree | 83ba4d72bdf86a5fa252b14d32345fdf91fffe09 /sd/source/ui/annotations/annotationwindow.cxx | |
parent | 5338d2abe4078626d2cfa38cde99dfa1d4eb2f6b (diff) |
convert Link<> to typed
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4
Reviewed-on: https://gerrit.libreoffice.org/18306
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/annotations/annotationwindow.cxx')
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index 2dcc76389af2..4cd50e15c22b 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -504,11 +504,10 @@ long AnnotationWindow::GetPostItTextHeight() return mpOutliner ? LogicToPixel(mpOutliner->CalcTextSize()).Height() : 0; } -IMPL_LINK(AnnotationWindow, ScrollHdl, ScrollBar*, pScroll) +IMPL_LINK_TYPED(AnnotationWindow, ScrollHdl, ScrollBar*, pScroll, void) { long nDiff = getView()->GetEditView().GetVisArea().Top() - pScroll->GetThumbPos(); getView()->Scroll( 0, nDiff ); - return 0; } SvxLanguageItem AnnotationWindow::GetLanguage() |