summaryrefslogtreecommitdiffstats
path: root/kpresenter/KoPointArray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KoPointArray.cpp')
-rw-r--r--kpresenter/KoPointArray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KoPointArray.cpp b/kpresenter/KoPointArray.cpp
index 77cb6e15..8e512901 100644
--- a/kpresenter/KoPointArray.cpp
+++ b/kpresenter/KoPointArray.cpp
@@ -25,8 +25,8 @@
void KoPointArray::translate( double dx, double dy )
{
- register KoPoint *p = data();
- register int i = size();
+ KoPoint *p = data();
+ int i = size();
KoPoint pt( dx, dy );
while ( i-- ) {
*p += pt;
@@ -232,7 +232,7 @@ KoRect KoPointArray::boundingRect() const
{
if ( isEmpty() )
return KoRect( 0, 0, 0, 0 ); // null rectangle
- register KoPoint *pd = data();
+ KoPoint *pd = data();
double minx, maxx, miny, maxy;
minx = maxx = pd->x();
miny = maxy = pd->y();