summaryrefslogtreecommitdiff
path: root/include/codemaker
diff options
context:
space:
mode:
Diffstat (limited to 'include/codemaker')
-rw-r--r--include/codemaker/commoncpp.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/codemaker/commoncpp.hxx b/include/codemaker/commoncpp.hxx
index e09b387cd92e..a1a8e9180e59 100644
--- a/include/codemaker/commoncpp.hxx
+++ b/include/codemaker/commoncpp.hxx
@@ -45,15 +45,15 @@ rtl::OString scopedCppName(rtl::OString const & type, bool ns_alias=true);
rtl::OString translateUnoToCppType(
codemaker::UnoType::Sort sort, rtl::OUString const & nucleus);
-enum IdentifierTranslationMode {
- ITM_GLOBAL,
- ITM_NONGLOBAL,
- ITM_KEYWORDSONLY
+enum class IdentifierTranslationMode {
+ Global,
+ NonGlobal,
+ KeywordsOnly
};
rtl::OString translateUnoToCppIdentifier(
rtl::OString const & identifier, rtl::OString const & prefix,
- IdentifierTranslationMode transmode = ITM_GLOBAL,
+ IdentifierTranslationMode transmode = IdentifierTranslationMode::Global,
rtl::OString const * forbidden = nullptr);
} }