diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-08 11:28:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-08 11:40:15 +0200 |
commit | 79b2059fa8e3c69088532f0ce521a285af5455cf (patch) | |
tree | ecce1ea865e24b4657b0aa424b10cb78928d1256 /linguistic/source/misc.cxx | |
parent | 704edbf7dc844e52404bf52f9d5dc768cfd024d0 (diff) |
convert CapType to scoped enum
Change-Id: I88fa3672a1f933ae818368c9bc400c6a845babb6
Diffstat (limited to 'linguistic/source/misc.cxx')
-rw-r--r-- | linguistic/source/misc.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index 0903a35fda51..bd1bdc8f228d 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -622,16 +622,16 @@ CapType SAL_CALL capitalType(const OUString& aTerm, CharClass * pCC) } if (nc == 0) - return CAPTYPE_NOCAP; + return CapType::NOCAP; if (nc == tlen) - return CAPTYPE_ALLCAP; + return CapType::ALLCAP; if ((nc == 1) && (pCC->getCharacterType(aStr,0) & ::com::sun::star::i18n::KCharacterType::UPPER)) - return CAPTYPE_INITCAP; + return CapType::INITCAP; - return CAPTYPE_MIXED; + return CapType::MIXED; } - return CAPTYPE_UNKNOWN; + return CapType::UNKNOWN; } OUString ToLower( const OUString &rText, sal_Int16 nLanguage ) |