From 5261417cbb3051b812164838d19c0f748573df45 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 14 Jun 2019 21:56:44 +0100 Subject: weld SpellDialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit a) use EditEngine instead of TextEngine as the former can be hosted in a foreign widget b) use a SfxGrabBagItem to hold the custom spellchecking info inside the EditEngine c) in longer paragraphs the current word is now auto-scrolled into view d) rename Invalidate to InvalidateDialog Change-Id: Ic6db019c32cdfd5f354c58ee7394fdaa040b86e1 Reviewed-on: https://gerrit.libreoffice.org/74119 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sd/inc/Outliner.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sd/inc') diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx index 5f4056fdb556..47c3b5d95784 100644 --- a/sd/inc/Outliner.hxx +++ b/sd/inc/Outliner.hxx @@ -30,6 +30,10 @@ class SdrObject; class SdrTextObj; class SdDrawDocument; +namespace weld { +class Window; +} + namespace sd { class View; @@ -516,7 +520,7 @@ private: that the otherwise non-modal search or spell dialogs, if visible, are locked, too. */ - VclPtr GetMessageBoxParent(); + weld::Window* GetMessageBoxParent(); }; #endif -- cgit