summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2021-01-08 18:26:38 +0100
committerRegina Henschel <rb.henschel@t-online.de>2021-01-12 14:07:30 +0100
commit7635a475130a0e9e3b0dded853348659d07a00d7 (patch)
tree645ca2f705a28ef58c8d73a8da86f75200acee46 /sd
parentb269e95f7ee36fbe6cbe5e3ddc5e10aa4ef651cd (diff)
tdf#137083 consider negative width in DrawPageViewGrid
SdrPageView::DrawPageViewGrid is called too for a ScDrawPage of a RTL-sheet. In that case both the width of the SdrPage and the left edge of the passed rectangle are negative. The x-values for drawing the grid were wrong and a right-to-left sheet did not show the grid. The patch adds a case distinction with correct x-values for case RTL. Change-Id: I6d0c15bf7bbe8aff6ab2e72a440ba81f2e0e2281 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108989 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'sd')
0 files changed, 0 insertions, 0 deletions