summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-10-25 19:55:37 +0100
committerMichael Meeks <michael.meeks@collabora.com>2019-10-25 22:21:32 +0200
commit706afd3e765e98489a2b43934a259626f9f0be01 (patch)
treef6a8575594acf2b072410ea8d01f5aa47ac68c47
parent439f595e6e74d34b66f8745e0a6013ec738f23df (diff)
lok: disable page break view for tiled rendering mode.
Why ? dotted lines fail to join giving differences in the grid depending on render position, vcl's LineInfo has no offset to compensate (yet). Restore when vcl's LineInfo is better. Change-Id: I45803ee80c8fcefd17a37dc3fd93fbafd94fffd4 Reviewed-on: https://gerrit.libreoffice.org/81530 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r--sc/source/ui/view/gridwin4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index aed7f1447d39..76041fdc5b7a 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -560,7 +560,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
bool bGrid = rOpts.GetOption( VOPT_GRID ) && pViewData->GetShowGrid();
bool bGridFirst = !rOpts.GetOption( VOPT_GRID_ONTOP );
- bool bPage = rOpts.GetOption( VOPT_PAGEBREAKS );
+ bool bPage = rOpts.GetOption( VOPT_PAGEBREAKS ) && !bIsTiledRendering;
// tdf#124983, if option LibreOfficeDev Calc/View/Visual Aids/Page breaks
// is enabled, breaks should be visible. If the document is opened the first
// time, the breaks are not calculated yet, so this initialization is