diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-22 08:01:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-20 17:17:15 +0200 |
commit | 2996f4c670d1a32a646dd1a552036ea1f18e5113 (patch) | |
tree | 23540bc2df4db7280527fb489e834d2bd94fe3da /sw | |
parent | 3e9dad4e65aed149a2590d6ec05c407eb99d4c6b (diff) |
Remove no longer needed ImpEditView::mpLibreOfficeKitSearchable
All clients has been ported to use
ImpEditView::mpLibreOfficeKitViewCallable instead.
Change-Id: I3a2513ac5900f801a2e7aec79807f4e333dfba3d
Reviewed-on: https://gerrit.libreoffice.org/26561
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit 03e83de83bcc640cf359fe7997edcdadb5067b36)
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/PostItMgr.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx index 8f9a22017f3d..33f09538cee6 100644 --- a/sw/inc/PostItMgr.hxx +++ b/sw/inc/PostItMgr.hxx @@ -290,8 +290,6 @@ class SwPostItMgr: public SfxListener void DrawNotesForPage(OutputDevice *pOutDev, sal_uInt32 nPage); void PaintTile(OutputDevice& rRenderContext, const Rectangle& rRect); - /// Informs already created annotations about a newly registered LOK callback. - void registerLibreOfficeKitCallback(OutlinerSearchable* pSearchable); }; #endif diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index b0ddb3bc863d..ceb870372df1 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -881,18 +881,6 @@ void SwPostItMgr::PaintTile(OutputDevice& rRenderContext, const Rectangle& /*rRe } } -void SwPostItMgr::registerLibreOfficeKitCallback(OutlinerSearchable* pSearchable) -{ - for (SwSidebarItem* pItem : mvPostItFields) - { - SwSidebarWin* pPostIt = pItem->pPostIt; - if (!pPostIt) - continue; - - pPostIt->GetOutlinerView()->registerLibreOfficeKitCallback(pSearchable); - } -} - void SwPostItMgr::Scroll(const long lScroll,const unsigned long aPage) { OSL_ENSURE((lScroll % GetScrollSize() )==0,"SwPostItMgr::Scroll: scrolling by wrong value"); |