diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-05-18 22:14:19 -0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-05-19 03:28:56 +0000 |
commit | fbac7999ebe2d2eee063b66670650508106a6e37 (patch) | |
tree | caf553ecaa450fa2674e7f4d7276687635c5367d | |
parent | 96744275f4ead236e666a2c39037300c4924f771 (diff) |
Revert "LOK: invalidate cursor only when required"
This reverts commit b229297372f793239f2304592f32065147169cde.
Change-Id: Iedc432c81829ba366966f96dfcd6ac2f405b9ba7
Reviewed-on: https://gerrit.libreoffice.org/25119
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 8a0ebd312e93..5ac794a3fb2f 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 (bGotoCursor && isTiledRendering()) + if (isTiledRendering()) { const Point& rPos = GetCursor()->GetPos(); Rectangle aRect(rPos.getX(), rPos.getY(), rPos.getX() + GetCursor()->GetWidth(), rPos.getY() + GetCursor()->GetHeight()); |