summaryrefslogtreecommitdiff
path: root/include/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-08 11:28:10 +0200
committerNoel Grandin <noel@peralex.com>2015-04-08 11:40:15 +0200
commit79b2059fa8e3c69088532f0ce521a285af5455cf (patch)
treeecce1ea865e24b4657b0aa424b10cb78928d1256 /include/linguistic
parent704edbf7dc844e52404bf52f9d5dc768cfd024d0 (diff)
convert CapType to scoped enum
Change-Id: I88fa3672a1f933ae818368c9bc400c6a845babb6
Diffstat (limited to 'include/linguistic')
-rw-r--r--include/linguistic/misc.hxx12
1 files changed, 6 insertions, 6 deletions
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();