[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/office/flake/lib
From:       Thomas Zander <zander () kde ! org>
Date:       2006-05-19 20:50:17
Message-ID: 1148071817.115876.976.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 542634 by zander:

Constify

 M  +3 -3      KoShape.h  


--- trunk/playground/office/flake/lib/KoShape.h #542633:542634
@@ -103,12 +103,12 @@
     /**
      * Return the current scaling adjustment over the X axis.
      */
-    double scaleX() { return m_scaleX; }
+    double scaleX() const { return m_scaleX; }
 
     /**
      * Return the current scaling adjustment over the Y axis.
      */
-    double scaleY() { return m_scaleY; }
+    double scaleY() const { return m_scaleY; }
 
     /**
      * @brief Rotate the object
@@ -122,7 +122,7 @@
     /**
      * Return the current rotation in degrees.
      */
-    double rotation() { return m_angle; }
+    double rotation() const { return m_angle; }
 
     /**
      * @brief Shear the object
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic