editeng: handle SdrModel::isTiledSearching()

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 14 January 2016 07:45 UTC

Given that the edit/outliner views can come and go, avoid the lifecycle problems with just passing a pointer to the sdr model to editeng, and then it'll always have the up to date "are we searching" information.

editeng can't depend on svx, so provide an interface class SdrModel can implement.

7b5d209 editeng: handle SdrModel::isTiledSearching()
editeng/source/editeng/editview.cxx | 4 ++--
editeng/source/editeng/impedit.cxx | 17 ++++++++++++++++-
editeng/source/editeng/impedit.hxx | 4 +++-
editeng/source/outliner/outlvw.cxx | 8 +++++---
include/editeng/editview.hxx | 3 ++-
include/editeng/outliner.hxx | 12 ++++++++++--
include/svx/svdmodel.hxx | 3 ++-
sc/source/ui/app/inputhdl.cxx | 2 +-
sc/source/ui/view/viewdata.cxx | 3 ++-
sd/qa/unit/tiledrendering/tiledrendering.cxx | 26 +++++++++++++++++++++++++-
svx/source/svdraw/svdedxv.cxx | 2 +-
sw/inc/PostItMgr.hxx | 3 ++-
sw/source/core/view/viewsh.cxx | 2 +-
sw/source/uibase/docvw/PostItMgr.cxx | 4 ++--
sw/source/uibase/docvw/SidebarWin.cxx | 2 +-
15 files changed, 75 insertions(+), 20 deletions(-)

Upstream: cgit.freedesktop.org


  • Share