diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-13 17:07:37 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-16 09:38:11 +0100 |
commit | 13a06aad7c4696e0ae48bfdbdabab18eb9f81d38 (patch) | |
tree | 8056913c574dfb563744658aafa8a807c4f3d44d | |
parent | 30d83b0a87d93fdc2563634d666ef6ce52d333d5 (diff) |
SwSelPaintRects::Show: silence LOK callback till draw edit is active
Change-Id: I84c1567efd2e7e6bcd09086ecce5041c2929c1b4
-rw-r--r-- | sw/source/core/crsr/viscrs.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index 2e8543d753db..3c62a4ad48ce 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -339,7 +339,11 @@ void SwSelPaintRects::Show() } } - if (GetShell()->isTiledRendering()) + // Tiled editing does not expose the draw and writer cursor, it just + // talks about "the" cursor at the moment. As long as that's true, + // don't say anything about the Writer cursor till a draw object is + // being edited. + if (GetShell()->isTiledRendering() && !pView->GetTextEditObject()) { if (!empty()) { |