diff options
-rw-r--r-- | chart2/source/view/charttypes/Splines.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx index 8cb7fcb2d7aa..a288f12ec453 100644 --- a/chart2/source/view/charttypes/Splines.cxx +++ b/chart2/source/view/charttypes/Splines.cxx @@ -497,6 +497,7 @@ void createKnotVector(const lcl_tSizeType n, const sal_uInt32 p, double* t, doub { fSum += t[i]; } + assert(p != 0); u[j+p] = fSum / p ; } for (lcl_tSizeType j = n+1; j <= n+1+p; ++j) |