From 5bf597385aa76e6c66ad2a7000fc61781a5c2514 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 4 Apr 2015 18:35:45 +0900 Subject: Mark it as static and const Change-Id: Ide66aecd5bd9beda298da189c3564908c5756cdd --- starmath/source/node.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/source/node.cxx') 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". -- cgit