summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-10-26 15:45:47 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2015-10-26 15:47:12 +0900
commitd31844da975b75e0a45121f990dee9d7cde30b30 (patch)
tree67639aedaf6ec6bcc3a3d824c674e2064cc01747 /vcl/source
parentc4c2c7e4273fb662bcb2ef9d8e2940799ed7d4a9 (diff)
It's a constant
Change-Id: I2315b580f8c786cc41d3cd43cdec485717785d5c
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/filter/sgvspln.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx
index 58a7a3e25a7f..cb10ef1d0411 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) {