summaryrefslogtreecommitdiff
path: root/include/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-20 16:21:21 +0200
committerNoel Grandin <noel@peralex.com>2015-01-06 10:59:40 +0200
commitbae855e667993ea6cddd551452c6e2fa60bdc2f3 (patch)
tree6ddf4f5d003ce53e9855cbe260851ef00ffa69ca /include/rsc
parent9b45157ab20c9b158a1ef8f4f364d7a46d9c276b (diff)
fdo#84938: replace BUTTONTYPE_ constants with 'enum class'
Change-Id: I54f9019297913683605b5aea9f79b3defc1dcc13
Diffstat (limited to 'include/rsc')
-rw-r--r--include/rsc/rsc-vcl-shared-types.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rsc/rsc-vcl-shared-types.hxx b/include/rsc/rsc-vcl-shared-types.hxx
index 016ff2fca176..73f702b62caa 100644
--- a/include/rsc/rsc-vcl-shared-types.hxx
+++ b/include/rsc/rsc-vcl-shared-types.hxx
@@ -62,10 +62,10 @@ enum class ToolBoxItemBits
AUTOSIZE = 0x0010,
DROPDOWN = 0x0020,
REPEAT = 0x0040,
- DROPDOWNONLY = 0x00a0, // 0x0080 | TIB_DROPDOWN
+ DROPDOWNONLY = 0x00a0, // 0x0080 | DROPDOWN
TEXT_ONLY = 0x0100,
ICON_ONLY = 0x0200,
- TEXTICON = 0x0300 // TIB_TEXT_ONLY | TIB_ICON_ONLY
+ TEXTICON = 0x0300 // TEXT_ONLY | ICON_ONLY
};
namespace o3tl
{
@@ -74,7 +74,7 @@ namespace o3tl
enum class ToolBoxItemType { DONTKNOW, BUTTON, SPACE, SEPARATOR, BREAK };
-enum ButtonType { BUTTON_SYMBOL, BUTTON_TEXT, BUTTON_SYMBOLTEXT };
+enum class ButtonType { SYMBOLONLY, TEXT, SYMBOLTEXT };
enum class SymbolType : sal_uInt16
{