diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-04-04 18:35:45 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2015-04-04 18:36:52 +0900 |
commit | 5bf597385aa76e6c66ad2a7000fc61781a5c2514 (patch) | |
tree | 508c49e51522eeeb5534a5a29b7224a562959b3c | |
parent | 8ac30e7c450acf3147454e6cb2a86978f1359c54 (diff) |
Mark it as static and const
Change-Id: Ide66aecd5bd9beda298da189c3564908c5756cdd
-rw-r--r-- | starmath/source/node.cxx | 2 |
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". |