diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-05 14:19:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-16 12:54:14 +0200 |
commit | e087e25f05e689091cbf1c4f91b6e93878ac17ec (patch) | |
tree | 8adb7ccbfa34e45e549a17bd9ee0a85067db1671 /editeng | |
parent | d6b7cc3f7c07b98c90194e8b33cf44b94804b525 (diff) |
weld InputBar
this also restores that DnD of a selection from the inputbar is pasted as plain
text not rich text formatted with the happenstance formatting of the inputbar's
EditEngine
Change-Id: If4934f83c14357afec2e0a7e1d51c8a1aea1d292
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104037
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editview.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index ed8bd065dca2..6b897a3bdb5c 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -309,6 +309,11 @@ bool EditView::HasSelection() const return pImpEditView->HasSelection(); } +bool EditView::IsSelectionAtPoint(const Point& rPointPixel) +{ + return pImpEditView->IsSelectionAtPoint(rPointPixel); +} + void EditView::DeleteSelected() { pImpEditView->DeleteSelected(); |