sw/source/ui/config/optpage.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 22776301906459a2cfeeee1f826f90243be2a76d Author: Johnny_M <kla...@partyheld.de> Date: Sun Jan 28 13:35:03 2018 +0100 Translate German variable name Korr -> Corr in SW Change-Id: I95836bf9c6211bdf6a215ce9f213d3105b86c8f0 Reviewed-on: https://gerrit.libreoffice.org/48784 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Michael Stahl <mst...@redhat.com> diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index e929ebf10901..221beafb949c 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -1625,8 +1625,8 @@ void SwMarkPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Recta aLeftPagePrtArea = tools::Rectangle(Point(nLBorder, nTBorder), Point((nOutWPix - 1) - nRBorder, (nOutHPix - 1) - nBBorder)); const long nWidth = aLeftPagePrtArea.GetWidth(); - const long nKorr = (nWidth & 1) != 0 ? 0 : 1; - aLeftPagePrtArea.SetSize(Size(nWidth / 2 - (nLBorder + nRBorder) / 2 + nKorr, aLeftPagePrtArea.GetHeight())); + const long nCorr = (nWidth & 1) != 0 ? 0 : 1; + aLeftPagePrtArea.SetSize(Size(nWidth / 2 - (nLBorder + nRBorder) / 2 + nCorr, aLeftPagePrtArea.GetHeight())); aRightPagePrtArea = aLeftPagePrtArea; aRightPagePrtArea.Move(aLeftPagePrtArea.GetWidth() + nLBorder + nRBorder + 1, 0); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits