diff options
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/vcl/canvashelper_texturefill.cxx | 4 |
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() ); } } |