summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 10:06:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 06:11:51 +0000
commite7324c5705eaa38a2c9aa0636f01a73f033ba4d6 (patch)
treee527e81c249467a7223b603a02bc6fe31ac0b111 /sdext
parent0d2797fdb06f504e7213b3859a53c363f4f56bc9 (diff)
loplugin:expandablemethodds in scaddins..sdext
Change-Id: Ife021e368efaafe9097750b4ca1a5472e94352a9 Reviewed-on: https://gerrit.libreoffice.org/30054 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterAccessibility.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index 766a9f87f376..03d3017f4d2c 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -496,7 +496,6 @@ private:
const sal_Int32 nOldCharacterIndex,
const sal_Int32 nNewParagraphIndex,
const sal_Int32 nNewCharacterIndex);
- void HandleTextChange();
};
//===== AccessibleFocusManager ================================================
@@ -1912,7 +1911,7 @@ void AccessibleNotes::SetTextView (
[this](sal_Int32 a, sal_Int32 b, sal_Int32 c, sal_Int32 d)
{ return this->NotifyCaretChange(a, b, c, d); });
mpTextView->SetTextChangeBroadcaster(
- [this]() { return this->HandleTextChange(); });
+ [this]() { return SetTextView(mpTextView); });
}
}
@@ -1975,10 +1974,6 @@ void AccessibleNotes::NotifyCaretChange (
}
}
-void AccessibleNotes::HandleTextChange()
-{
- SetTextView(mpTextView);
-}
//===== AccessibleFocusManager ================================================