summaryrefslogtreecommitdiff
path: root/vcl/source/control/button.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r--vcl/source/control/button.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 4ce2748998cd..709c52daf4c0 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1385,7 +1385,6 @@ void PushButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
Point aPos = pDev->LogicToPixel( rPos );
Size aSize = pDev->LogicToPixel( rSize );
Rectangle aRect( aPos, aSize );
- Rectangle aTextRect;
Font aFont = GetDrawPixelFont( pDev );
pDev->Push();