diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-11 12:33:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-13 08:54:36 +0200 |
commit | 670b7ade84ec972d831055349e2bdbc2b1218955 (patch) | |
tree | 90e18c89c0e8d789c97eec18eb8c4285b9a37097 /sc | |
parent | d61f0a8c8634827ad427ebb4609d389164c0cc79 (diff) |
convert BUTTON_DRAW constants to scoped enum
Change-Id: I6ad6558c855736a4a5268593ced9c8300235d4bd
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/cctrl/cbuttonw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx index 08c278482ead..d8a95bd56f59 100644 --- a/sc/source/ui/cctrl/cbuttonw.cxx +++ b/sc/source/ui/cctrl/cbuttonw.cxx @@ -70,10 +70,10 @@ void ScDDComboBoxButton::Draw( const Point& rAt, DecorationView aDecoView( pOut); - sal_uInt16 nButtonStyle = BUTTON_DRAW_DEFAULT; + DrawButtonFlags nButtonStyle = DrawButtonFlags::Default; if( bBtnIn ) // gedrueckt? { - nButtonStyle = BUTTON_DRAW_PRESSED; + nButtonStyle = DrawButtonFlags::Pressed; } aInnerRect=aDecoView.DrawButton( aBtnRect, nButtonStyle ); |