From 79b2059fa8e3c69088532f0ce521a285af5455cf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 8 Apr 2015 11:28:10 +0200 Subject: convert CapType to scoped enum Change-Id: I88fa3672a1f933ae818368c9bc400c6a845babb6 --- include/linguistic/misc.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/linguistic') diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx index 2e0b7ff8e725..56e7cb2fb6d8 100644 --- a/include/linguistic/misc.hxx +++ b/include/linguistic/misc.hxx @@ -69,13 +69,13 @@ enum class DictionaryError }; // values asigned to capitalization types -enum CapType +enum class CapType { - CAPTYPE_UNKNOWN, - CAPTYPE_NOCAP, - CAPTYPE_INITCAP, - CAPTYPE_ALLCAP, - CAPTYPE_MIXED + UNKNOWN, + NOCAP, + INITCAP, + ALLCAP, + MIXED }; LNG_DLLPUBLIC ::osl::Mutex& GetLinguMutex(); -- cgit