sw/source/core/layout/paintfrm.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit 612a5f54015eedf832ce1d0ff9062ba819976ea6 Author: Michaël Lefèvre <lefevr...@yahoo.fr> Date: Sun Nov 16 12:10:28 2014 +0100 Make const variables const Change-Id: Ib29fa559028327ffb8835daf271da0769fecaa2a Reviewed-on: https://gerrit.libreoffice.org/12478 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index bd691d5..a5b5d73 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -246,8 +246,8 @@ static long nMinDistPixelW = 0, nMinDistPixelH = 0; // Current zoom factor static double aScaleX = 1.0; static double aScaleY = 1.0; -static double aMinDistScale = 0.73; -static double aEdgeScale = 0.5; +const static double aMinDistScale = 0.73; +const static double aEdgeScale = 0.5; // The borders will be collected in pLines during the Paint and later // possibly merge them. @@ -420,8 +420,6 @@ SwSavePaintStatics::SwSavePaintStatics() nHalfPixelSzW = nHalfPixelSzH = nMinDistPixelW = nMinDistPixelH = 0; aScaleX = aScaleY = 1.0; - aMinDistScale = 0.73; - aEdgeScale = 0.5; g_pBorderLines = 0; pLines = 0; pSubsLines = 0;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits