diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-20 16:21:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-06 10:59:40 +0200 |
commit | bae855e667993ea6cddd551452c6e2fa60bdc2f3 (patch) | |
tree | 6ddf4f5d003ce53e9855cbe260851ef00ffa69ca /cui | |
parent | vcl: fdo#39468 - translated ImplSVData comments (esp. around timer) (diff) | |
download | core-bae855e667993ea6cddd551452c6e2fa60bdc2f3.tar.gz core-bae855e667993ea6cddd551452c6e2fa60bdc2f3.zip |
fdo#84938: replace BUTTONTYPE_ constants with 'enum class'
Change-Id: I54f9019297913683605b5aea9f79b3defc1dcc13
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/cfg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index c3d32dd96881..88b0bf637b9d 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -3506,15 +3506,15 @@ void ToolbarSaveInData::SetSystemStyle( if ( nStyle == 0 ) { - toolbox->SetButtonType( BUTTON_SYMBOL ); + toolbox->SetButtonType( ButtonType::SYMBOLONLY ); } else if ( nStyle == 1 ) { - toolbox->SetButtonType( BUTTON_TEXT ); + toolbox->SetButtonType( ButtonType::TEXT ); } if ( nStyle == 2 ) { - toolbox->SetButtonType( BUTTON_SYMBOLTEXT ); + toolbox->SetButtonType( ButtonType::SYMBOLTEXT ); } } } |