From 309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 29 Jan 2015 09:07:25 +0000 Subject: callcatcher: large newly detected unused methods post de-virtualization i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d --- sw/source/uibase/docvw/edtwin.cxx | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'sw/source/uibase/docvw/edtwin.cxx') diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 3554d9779596..6666249466da 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -6228,19 +6228,6 @@ Selection SwEditWin::GetSurroundingTextSelection() const } } -// MT: Removed Windows::SwitchView() introduced with IA2 CWS. -// There are other notifications for this when the active view has changed, so please update the code to use that event mechanism -void SwEditWin::SwitchView() -{ -#ifdef ACCESSIBLE_LAYOUT - if (!Application::IsAccessibilityEnabled()) - { - return ; - } - rView.GetWrtShell().InvalidateAccessibleFocus(); -#endif -} - void SwEditWin::LogicInvalidate(const vcl::Region* pRegion) { OString sRectangle; @@ -6256,10 +6243,6 @@ void SwEditWin::LogicInvalidate(const vcl::Region* pRegion) m_rView.GetWrtShell().libreOfficeKitCallback(LOK_CALLBACK_INVALIDATE_TILES, sRectangle.getStr()); } -void SwEditWin::LogicMouseMove(const MouseEvent& /*rMouseEvent*/) -{ -} - void SwEditWin::LogicMouseButtonDown(const MouseEvent& rMouseEvent) { // When we're not doing tiled rendering, then positions must be passed as pixels. -- cgit