diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-26 15:59:17 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-02 08:51:01 +0100 |
commit | f52920ad25ae142bb49beaa7a7353240f143b0b7 (patch) | |
tree | af5509bf4e453895304682628c63e2d212df1c4c /sw | |
parent | 135bc56f87c563ce5bb2c5d2a7faf35e7ecfec59 (diff) |
SwShellTableCrsr::FillRects: ignore visual area for tiled rendering
With this, if you have a 2x2 empty table and you are on A1, pressing
shift-right results in a proper table selection of A1:B1. Still need to
fix selection handles, though.
Change-Id: Ifb4598f715991cc7b88828d505c3af008c744676
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/viscrs.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index 74b5ee6fec68..89bcc286392a 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -704,6 +704,8 @@ void SwShellTableCrsr::FillRects() return; SwRegionRects aReg( GetShell()->VisArea() ); + if (GetShell()->isTiledRendering()) + aReg = GetShell()->getIDocumentLayoutAccess()->GetCurrentLayout()->Frm(); SwNodes& rNds = GetDoc()->GetNodes(); for (size_t n = 0; n < m_SelectedBoxes.size(); ++n) { |