[Libreoffice-commits] core.git: starmath/source
Takeshi Abe
tabe at fixedpoint.jp
Mon Feb 9 02:07:24 PST 2015
starmath/source/node.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f4017e1ddd483e7f5ab14cf68aa754fd7c468d06
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Mon Feb 9 18:59:24 2015 +0900
Mark it as static
Change-Id: I3193c5b7181f61a9047985f115d2ea49c683cb73
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 083e3dc..c55b691 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(),
More information about the Libreoffice-commits
mailing list