summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2017-08-09 16:35:47 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2017-08-10 15:17:59 +0200
commit68eff5b6c28a136a79a7d7ad5c04e10f8ce69980 (patch)
treeff6e6dbb68525342216285c5608ba44204b3f047 /editeng
parent4d3f92aa18d3419f861986a610e618c8f09b6ae2 (diff)
editviewoverlay: more cases secured
Added support for vertical text, checked all combinations for text positioning, secured cursor stuff, ensured collaboration with LibreOfficeKit Change-Id: I98d1187700907c0c72abdccb9c9979496f6c20cf
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 48a6f1397af3..3d71f9a92b0f 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -232,6 +232,10 @@ void ImpEditView::DrawSelectionXOR( EditSelection aTmpSel, vcl::Region* pRegion,
if (hasEditViewCallbacks() && !pRegion)
{
// we are done, do *not* visualize self
+ // CAUTION: do not use when comphelper::LibreOfficeKit::isActive()
+ // due to event stuff triggered below. That *should* probably be moved
+ // to SelectionChanged() which exists now, but I do not know enough about
+ // that stuff to do it
return;
}