summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-18 12:02:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-19 10:11:30 +0200
commit44f7674ffda49257dcc1709256dfc4676d12165c (patch)
treebdc5495436058e4f153d4b5ddad22249685558db /include/svx
parent1b03a449161af225302e4b4dd2bb2e69c6d8d170 (diff)
weld OQueryTextView
its plausible with the EditEngine replacement for the SQL editor that the undo could be integrated better than the current check-if-the-text-has-changed timeout method. But that's left unchanged with this commit. Change-Id: I9b9e373044a80ee94dab4ceaad0ef2801b0b1166 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100950 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/weldeditview.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/weldeditview.hxx b/include/svx/weldeditview.hxx
index 071a8f50d852..bb832e44ab6f 100644
--- a/include/svx/weldeditview.hxx
+++ b/include/svx/weldeditview.hxx
@@ -37,6 +37,12 @@ public:
EditEngine& GetEditEngine() { return *m_xEditEngine; }
+ bool HasSelection() const { return m_xEditView->HasSelection(); }
+
+ void Cut() { m_xEditView->Cut(); }
+ void Copy() { m_xEditView->Copy(); }
+ void Paste() { m_xEditView->Paste(); }
+
virtual ~WeldEditView() override;
protected: