summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx b/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
index cbb29d08f42b..f1271dd13069 100644
--- a/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
@@ -47,7 +47,7 @@ namespace drawinglayer
getTransformation().decompose(aScale, aTranslate, fRotate, fShearX);
// calculate distances based on a static default (to allow testing in debugger)
- static double fDefaultDistance(0.03);
+ static const double fDefaultDistance(0.03);
const double fFontHeight(aScale.getY());
const double fUnderlineDistance(fFontHeight * fDefaultDistance);
const double fWaveWidth(2.0 * fUnderlineDistance);