From 2996f4c670d1a32a646dd1a552036ea1f18e5113 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 22 Jun 2016 08:01:04 +0200 Subject: 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 Tested-by: Jenkins (cherry picked from commit 03e83de83bcc640cf359fe7997edcdadb5067b36) --- include/editeng/editview.hxx | 2 -- include/editeng/outliner.hxx | 13 +------------ 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'include') diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 80b22f50f02a..d4e88b288d13 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -183,8 +183,6 @@ public: void SetBackgroundColor( const Color& rColor ); Color GetBackgroundColor() const; - /// Register a LOK model callback. - void registerLibreOfficeKitCallback(OutlinerSearchable *pSearchable); /// Register a LOK view callback. void registerLibreOfficeKitViewCallback(OutlinerViewCallable *pCallable); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 9ef1b93eeac5..d467ef56419a 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -274,8 +274,6 @@ public: void SetBackgroundColor( const Color& rColor ); Color GetBackgroundColor(); - /// Registers a LOK model callback. - void registerLibreOfficeKitCallback(OutlinerSearchable* pSearchable); /// Registers a LOK view callback. void registerLibreOfficeKitViewCallback(OutlinerViewCallable* pCallable); @@ -379,16 +377,7 @@ public: void SetEndCutPasteLinkHdl(const Link &rLink) { aEndCutPasteLink = rLink; } }; -/// Interface class to not depend on SdrModel in editeng. -class EDITENG_DLLPUBLIC OutlinerSearchable -{ -public: - virtual ~OutlinerSearchable(); - - virtual void libreOfficeKitCallback(int nType, const char* pPayload) const = 0; -}; - -/// Interface class to not depend on SfxViewShell in editeng, meant to replace OutlinerSearchable at the end. +/// Interface class to not depend on SfxViewShell in editeng. class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI OutlinerViewCallable { public: -- cgit