diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/syntaxhighlight.hxx | 6 | ||||
-rw-r--r-- | include/svtools/editsyntaxhighlighter.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/syntaxhighlight.hxx b/include/comphelper/syntaxhighlight.hxx index cfe8896c982c..76e87124bdc8 100644 --- a/include/comphelper/syntaxhighlight.hxx +++ b/include/comphelper/syntaxhighlight.hxx @@ -59,10 +59,10 @@ struct HighlightPortion { // Language mode of the Highlighter (possibly to be refined later with keyword // lists, C comment flags) -enum HighlighterLanguage +enum class HighlighterLanguage { - HIGHLIGHT_BASIC, - HIGHLIGHT_SQL + Basic, + SQL }; class COMPHELPER_DLLPUBLIC SyntaxHighlighter diff --git a/include/svtools/editsyntaxhighlighter.hxx b/include/svtools/editsyntaxhighlighter.hxx index d205e3222145..33666a7ded0f 100644 --- a/include/svtools/editsyntaxhighlighter.hxx +++ b/include/svtools/editsyntaxhighlighter.hxx @@ -39,7 +39,7 @@ class SVT_DLLPUBLIC MultiLineEditSyntaxHighlight : public MultiLineEdit virtual bool PreNotify( NotifyEvent& rNEvt ) override; public: - MultiLineEditSyntaxHighlight( vcl::Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER , HighlighterLanguage aLanguage = HIGHLIGHT_SQL); + MultiLineEditSyntaxHighlight( vcl::Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER , HighlighterLanguage aLanguage = HighlighterLanguage::SQL); virtual void UpdateData() override; virtual void SetText(const OUString& rNewText) override; |