summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpointarray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qpointarray.cpp')
-rw-r--r--src/kernel/qpointarray.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qpointarray.cpp b/src/kernel/qpointarray.cpp
index dcca3278e..09be31380 100644
--- a/src/kernel/qpointarray.cpp
+++ b/src/kernel/qpointarray.cpp
@@ -190,8 +190,8 @@ TQPointArray::TQPointArray( int nPoints, const TQCOORD *points )
void TQPointArray::translate( int dx, int dy )
{
- register TQPoint *p = data();
- register int i = size();
+ TQPoint *p = data();
+ int i = size();
TQPoint pt( dx, dy );
while ( i-- ) {
*p += pt;
@@ -440,7 +440,7 @@ TQRect TQPointArray::boundingRect() const
{
if ( isEmpty() )
return TQRect( 0, 0, 0, 0 ); // null rectangle
- register TQPoint *pd = data();
+ TQPoint *pd = data();
int minx, maxx, miny, maxy;
minx = maxx = pd->x();
miny = maxy = pd->y();
@@ -937,7 +937,7 @@ TQPointArray TQPointArray::cubicBezier() const
if ( m < 2 ) // at least two points
m = 2;
TQPointArray p( m ); // p = Bezier point array
- register TQPointData *pd = p.data();
+ TQPointData *pd = p.data();
float x0 = xvec[0], y0 = yvec[0];
float dt = 1.0F/m;
@@ -1018,7 +1018,7 @@ TQPointArray TQPointArray::cubicBezier() const
TQDataStream &operator<<( TQDataStream &s, const TQPointArray &a )
{
- register uint i;
+ uint i;
uint len = a.size();
s << len; // write size of array
for ( i=0; i<len; i++ ) // write each point
@@ -1037,7 +1037,7 @@ TQDataStream &operator<<( TQDataStream &s, const TQPointArray &a )
TQDataStream &operator>>( TQDataStream &s, TQPointArray &a )
{
- register uint i;
+ uint i;
uint len;
s >> len; // read size of array
if ( !a.resize( len ) ) // no memory