summaryrefslogtreecommitdiffstats
path: root/chart2/source/view/charttypes/Splines.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/charttypes/Splines.cxx')
-rw-r--r--chart2/source/view/charttypes/Splines.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index 3d94de98e9eb..b3cd9a77c67f 100644
--- a/chart2/source/view/charttypes/Splines.cxx
+++ b/chart2/source/view/charttypes/Splines.cxx
@@ -668,8 +668,8 @@ void SplineCalculater::CalculateBSplines(
// ODF1.2 spec variable k. Causion, k is used as index in the spec in addition.
// nDegree is ODF1.2 file format attribute chart:spline-order and
// ODF1.2 spec variable p
- assert( nResolution > 1 );
- assert( nDegree >= 1 );
+ OSL_ASSERT( nResolution > 1 );
+ OSL_ASSERT( nDegree >= 1 );
// limit the b-spline degree at 15 to prevent insanely large sets of points
sal_uInt32 p = std::min<sal_uInt32>(nDegree, 15);