summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2011-12-17 17:11:54 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-17 17:13:03 +0400
commitf26635c3869a85ae03dba3dfb833276f13ffc478 (patch)
treec0350288b2b0c426534a7446c2137bab8be8f331 /vcl
parent3adb006b526b8469bd98ea7b8d02ebd083e1f49c (diff)
fix decoration drawing
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/decoview.cxx2
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;