From e087e25f05e689091cbf1c4f91b6e93878ac17ec Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 5 Oct 2020 14:19:05 +0100 Subject: weld InputBar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Caolán McNamara --- editeng/source/editeng/editview.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'editeng') 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(); -- cgit v1.2.3