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>
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index aed7f14..76041fd 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