summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-02-09 18:59:24 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2015-02-09 19:01:39 +0900
commitf4017e1ddd483e7f5ab14cf68aa754fd7c468d06 (patch)
tree5c0ad50e022aca516ee94fa6516606ad9f689514 /starmath
parent110751e5415cda9ba9488a0673e956a443c836fd (diff)
Mark it as static
Change-Id: I3193c5b7181f61a9047985f115d2ea49c683cb73
Diffstat (limited to 'starmath')
-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 083e3dc133cc..c55b69184779 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -1283,7 +1283,7 @@ void SmBinDiagonalNode::GetOperPosSize(Point &rPos, Size &rSize,
const Point &rDiagPoint, double fAngleDeg) const
{
- const double fPi = 3.1415926535897932384626433;
+ static const double fPi = 3.1415926535897932384626433;
double fAngleRad = fAngleDeg / 180.0 * fPi;
long nRectLeft = GetItalicLeft(),
nRectRight = GetItalicRight(),