diff options
Diffstat (limited to 'vcl/source/control/imgctrl.cxx')
-rw-r--r-- | vcl/source/control/imgctrl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/control/imgctrl.cxx b/vcl/source/control/imgctrl.cxx index 3c28bb8fe3d1..0f0369c26182 100644 --- a/vcl/source/control/imgctrl.cxx +++ b/vcl/source/control/imgctrl.cxx @@ -166,10 +166,10 @@ void ImageControl::Paint( const Rectangle& /*rRect*/ ) pWin->SetFillColor(); pWin->SetLineColor( bFlat ? COL_WHITE : COL_BLACK ); pWin->DrawRect( aRect ); - aRect.nLeft++; - aRect.nRight--; - aRect.nTop++; - aRect.nBottom--; + ++aRect.Left(); + --aRect.Right(); + ++aRect.Top(); + --aRect.Bottom(); pWin->SetLineColor( bFlat ? COL_BLACK : COL_WHITE ); pWin->DrawRect( aRect ); pWin->SetLineColor( oldLineCol ); |