summaryrefslogtreecommitdiff
path: root/include/basic
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-21 16:22:07 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-23 11:49:32 +0000
commitf107d453819fe06e1e8d46ffb3cc866f119d74fd (patch)
treec736accea43af430d2f7ba6233840060df1cad19 /include/basic
parent833088b18015381dc8f90e4e868f96b7e882334f (diff)
Convert SbxClassType to scoped enum
Change-Id: I48afcdd9924d22b52a8db21aa253061e4d38c85b Reviewed-on: https://gerrit.libreoffice.org/25259 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/sbxdef.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx
index f9ac5efe3129..da5606720429 100644
--- a/include/basic/sbxdef.hxx
+++ b/include/basic/sbxdef.hxx
@@ -26,14 +26,14 @@
#include <tools/errcode.hxx>
#include <o3tl/typed_flags_set.hxx>
-enum SbxClassType { // SBX-class-IDs (order is important!)
- SbxCLASS_DONTCARE = 1, // don't care (search, not 0 due to StarBASIC)
- SbxCLASS_ARRAY, // Array of SbxVariables
- SbxCLASS_VALUE, // simple value
- SbxCLASS_VARIABLE, // Variable (from here there is Broadcaster)
- SbxCLASS_METHOD, // Method (Function or Sub)
- SbxCLASS_PROPERTY, // Property
- SbxCLASS_OBJECT // Object
+enum class SbxClassType { // SBX-class-IDs (order is important!)
+ DontCare = 1, // don't care (search, not 0 due to StarBASIC)
+ Array, // Array of SbxVariables
+ Value, // simple value
+ Variable, // Variable (from here there is Broadcaster)
+ Method, // Method (Function or Sub)
+ Property, // Property
+ Object // Object
};
enum SbxDataType {