summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-20 17:35:17 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-23 09:19:07 +0100
commit7b8a59807806dbf6ec759a836c873b435e09e907 (patch)
treef221c5bc1830cc3237e857cf01b4073bff2e6773 /editeng
parent35cf00e20ad5826f715f5d5bbc48d486228774ca (diff)
sd: when tiled rendering, disable map mode early
This brings sd in sync with sw, that does the same for some time already. With this, we no longer do a complete repaint 6 times after every postMouseEvent(). Change-Id: I38754f4bdbb977abbdbb0f32e1460ab2f6290f87
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 574cfd43fd87..7593b8094c18 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -922,7 +922,7 @@ void ImpEditView::ShowCursor( bool bGotoCursor, bool bForceVisCursor, sal_uInt16
Rectangle aRect(rPos.getX(), rPos.getY(), rPos.getX() + GetCursor()->GetWidth(), rPos.getY() + GetCursor()->GetHeight());
// LOK output is always in twips, convert from mm100 if necessary.
- if (pOutWin->IsMapModeEnabled() && pOutWin->GetMapMode().GetMapUnit() == MAP_100TH_MM)
+ if (pOutWin->GetMapMode().GetMapUnit() == MAP_100TH_MM)
aRect = OutputDevice::LogicToLogic(aRect, MAP_100TH_MM, MAP_TWIP);
// Let the LOK client decide the cursor width.
aRect.setWidth(0);