diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-17 17:11:54 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-17 17:13:03 +0400 |
commit | f26635c3869a85ae03dba3dfb833276f13ffc478 (patch) | |
tree | c0350288b2b0c426534a7446c2137bab8be8f331 /vcl | |
parent | 3adb006b526b8469bd98ea7b8d02ebd083e1f49c (diff) |
fix decoration drawing
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/decoview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx index 38dbe74ee907..6b6bc1a132f4 100644 --- a/vcl/source/window/decoview.cxx +++ b/vcl/source/window/decoview.cxx @@ -747,7 +747,7 @@ void ImplDrawFrame( OutputDevice *const pDev, Rectangle& rRect, rRect.Right(), rRect.Bottom() ) ); pDev->SetLineColor( rStyleSettings.GetShadowColor() ); pDev->DrawRect( Rectangle( rRect.Left(), rRect.Top(), - rRect.Right()+1, rRect.Bottom()+1 ) ); + rRect.Right()-1, rRect.Bottom()-1 ) ); // adjust target rectangle rRect.Left() += 2; |