summaryrefslogtreecommitdiff
path: root/starmath/source/node.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-04-04 18:35:45 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2015-04-04 18:36:52 +0900
commit5bf597385aa76e6c66ad2a7000fc61781a5c2514 (patch)
tree508c49e51522eeeb5534a5a29b7224a562959b3c /starmath/source/node.cxx
parent8ac30e7c450acf3147454e6cb2a86978f1359c54 (diff)
Mark it as static and const
Change-Id: Ide66aecd5bd9beda298da189c3564908c5756cdd
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r--starmath/source/node.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 50638c29c010..7880913600c0 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2296,7 +2296,7 @@ void SmRootSymbolNode::AdaptToY(const OutputDevice &rDev, sal_uLong nHeight)
void SmDynIntegralSymbolNode::AdaptToY(const OutputDevice &rDev, sal_uLong nHeight)
{
- long nFactor = 12L;
+ static const long nFactor = 12L;
// The new height equals (1 + nFactor) * oldHeight
// nFactor was chosen for keeping the integral sign from becoming too "fat".