[Libreoffice-commits] core.git: vcl/source

Takeshi Abe tabe at fixedpoint.jp
Sun Oct 25 23:48:06 PDT 2015


 vcl/source/filter/sgvspln.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d31844da975b75e0a45121f990dee9d7cde30b30
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Mon Oct 26 15:45:47 2015 +0900

    It's a constant
    
    Change-Id: I2315b580f8c786cc41d3cd43cdec485717785d5c

diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx
index 58a7a3e..cb10ef1 100644
--- a/vcl/source/filter/sgvspln.cxx
+++ b/vcl/source/filter/sgvspln.cxx
@@ -694,7 +694,7 @@ bool Spline2Poly(tools::Polygon& rSpln, bool Periodic, tools::Polygon& rPoly)
     sal_uInt16  n;             // number of partial polynoms to draw
     sal_uInt16  i;             // actual partial polynom
     bool        bOk;           // all still ok?
-    sal_uInt16  PolyMax=16380; // max number of polygon points
+    const sal_uInt16  PolyMax=16380; // max number of polygon points
 
     bOk=CalcSpline(rSpln,Periodic,n,ax,ay,bx,by,cx,cy,dx,dy,tv);
     if (bOk) {


More information about the Libreoffice-commits mailing list