sd: in Outline add getViewShellBase to simplify code

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 2 June 2020 07:20 UTC

This simplifies constant casting of SfxViewShell::Current to sd::ViewShellBase. Instead of doing it in every method, let's have a dedicated function for that.

Change-Id: Iadbe446c7edce5df40c2da14e3eee65012dd4d77 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95308

29e06da2b634 sd: in Outline add getViewShellBase to simplify code
sd/source/ui/view/Outliner.cxx | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share