summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/canvashelper_texturefill.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/canvashelper_texturefill.cxx')
-rw-r--r--canvas/source/vcl/canvashelper_texturefill.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/vcl/canvashelper_texturefill.cxx b/canvas/source/vcl/canvashelper_texturefill.cxx
index 9d7aaa502a88..892d6d781e8f 100644
--- a/canvas/source/vcl/canvashelper_texturefill.cxx
+++ b/canvas/source/vcl/canvashelper_texturefill.cxx
@@ -78,8 +78,8 @@ namespace vclcanvas
for( nY=0; nY < nTilesY; ++nY )
{
- aCurrPos.X() = rPosPixel.X() + nY*rNextTileY.Width();
- aCurrPos.Y() = rPosPixel.Y() + nY*rNextTileY.Height();
+ aCurrPos.setX( rPosPixel.X() + nY*rNextTileY.Width() );
+ aCurrPos.setY( rPosPixel.Y() + nY*rNextTileY.Height() );
for( nX=0; nX < nTilesX; ++nX )
{
@@ -90,8 +90,8 @@ namespace vclcanvas
rTileSize,
&rAttr );
- aCurrPos.X() += rNextTileX.Width();
- aCurrPos.Y() += rNextTileX.Height();
+ aCurrPos.setX( aCurrPos.X() + rNextTileX.Width() );
+ aCurrPos.setY( aCurrPos.Y() + rNextTileX.Height() );
}
}