summaryrefslogtreecommitdiff
path: root/framework/inc/uielement
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/uielement')
-rw-r--r--framework/inc/uielement/togglebuttontoolbarcontroller.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/framework/inc/uielement/togglebuttontoolbarcontroller.hxx b/framework/inc/uielement/togglebuttontoolbarcontroller.hxx
index e057b0cca3eb..7d9532eea5ac 100644
--- a/framework/inc/uielement/togglebuttontoolbarcontroller.hxx
+++ b/framework/inc/uielement/togglebuttontoolbarcontroller.hxx
@@ -37,11 +37,10 @@ class ToggleButtonToolbarController : public ComplexToolbarController
{
public:
- enum Style
+ enum class Style
{
- STYLE_TOGGLEBUTTON,
- STYLE_DROPDOWNBUTTON,
- STYLE_TOGGLE_DROPDOWNBUTTON
+ DropDownButton,
+ ToggleDropDownButton
};
ToggleButtonToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
@@ -65,7 +64,6 @@ class ToggleButtonToolbarController : public ComplexToolbarController
private:
DECL_LINK( MenuSelectHdl, Menu *, bool);
- Style m_eStyle;
OUString m_aCurrentSelection;
std::vector< OUString > m_aDropdownMenuList;
};