Index: trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc
===================================================================
--- trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc	(revision 8814)
+++ trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc	(revision 8818)
@@ -271,5 +271,5 @@
 void MGSkyPosition::SetDot(TArc *arc, const RaDec &radec, Int_t off)
 {
-    RaDec rd(radec.Ra()+off*360/24*kDeg2Rad, radec.Dec());
+    RaDec rd(radec.Ra()+off*360/24*TMath::DegToRad(), radec.Dec());
     ZdAz zdaz = fSlaStar->CalcZdAzFast(rd);
 
@@ -294,5 +294,5 @@
     static int Ry=~0;
 
-    const float rad = az*kDeg2Rad;    // [rad]
+    const float rad = az*TMath::DegToRad();    // [rad]
 
     const float s = sin(rad);
@@ -379,5 +379,5 @@
     UpdateStars();
 
-    RaDec radec = fSlaStar->CalcRaDecFast(pos*kDeg2Rad);
+    RaDec radec = fSlaStar->CalcRaDecFast(pos*TMath::DegToRad());
     UpdatePosition(radec, pos.Zd(), pos.Az());
     UpdateText(pos.Zd(), pos.Az());
