summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl/cbuttonw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/cctrl/cbuttonw.cxx')
-rw-r--r--sc/source/ui/cctrl/cbuttonw.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx
index 46ebb210cd9c..5a5a7008bfa8 100644
--- a/sc/source/ui/cctrl/cbuttonw.cxx
+++ b/sc/source/ui/cctrl/cbuttonw.cxx
@@ -62,13 +62,12 @@ void ScDDComboBoxButton::Draw( const Point& rAt,
bool bOldEnable = pOut->IsMapModeEnabled();
Rectangle aBtnRect( rAt, rSize );
- Rectangle aInnerRect = aBtnRect;
pOut->EnableMapMode( false );
DecorationView aDecoView( pOut);
- aInnerRect=aDecoView.DrawButton( aBtnRect, DrawButtonFlags::Default );
+ Rectangle aInnerRect=aDecoView.DrawButton( aBtnRect, DrawButtonFlags::Default );
aInnerRect.Left() += 1;
aInnerRect.Top() += 1;