diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-05-14 21:01:35 -0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-05-15 20:13:39 +0000 |
commit | b229297372f793239f2304592f32065147169cde (patch) | |
tree | f3f5fb2532da1e797b91c412430929332f6c1cbc | |
parent | 0b223bac012fae1af2d2bf1fe9c038cbe88846ed (diff) |
LOK: invalidate cursor only when required
Change-Id: I3481dce94070f28593a970cb2d8530131165c41b
Reviewed-on: https://gerrit.libreoffice.org/25016
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 5ac794a3fb2f..8a0ebd312e93 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -963,7 +963,7 @@ void ImpEditView::ShowCursor( bool bGotoCursor, bool bForceVisCursor, sal_uInt16 GetCursor()->SetSize( aCursorSz ); - if (isTiledRendering()) + if (bGotoCursor && isTiledRendering()) { const Point& rPos = GetCursor()->GetPos(); Rectangle aRect(rPos.getX(), rPos.getY(), rPos.getX() + GetCursor()->GetWidth(), rPos.getY() + GetCursor()->GetHeight()); |