summaryrefslogtreecommitdiffstats
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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/canvashelper_texturefill.cxx b/canvas/source/vcl/canvashelper_texturefill.cxx
index 892d6d781e8f..fcec72c0b475 100644
--- a/canvas/source/vcl/canvashelper_texturefill.cxx
+++ b/canvas/source/vcl/canvashelper_texturefill.cxx
@@ -90,8 +90,8 @@ namespace vclcanvas
rTileSize,
&rAttr );
- aCurrPos.setX( aCurrPos.X() + rNextTileX.Width() );
- aCurrPos.setY( aCurrPos.Y() + rNextTileX.Height() );
+ aCurrPos.AdjustX(rNextTileX.Width() );
+ aCurrPos.AdjustY(rNextTileX.Height() );
}
}