summaryrefslogtreecommitdiff
path: root/linguistic/source/convdic.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-04-17 21:35:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-26 08:50:54 +0200
commitc70d49c7c888da8cfd73db8585e7be1f37fc398a (patch)
treec0e540401850018464ca76300536faf9aa7e27d2 /linguistic/source/convdic.hxx
parentcd4344d3bdef631b3e64ac12a9e64bc9670c1b7c (diff)
use strong_int for LanguageType
Change-Id: If99a944f7032180355da291ad283b4cfcea4f448 Reviewed-on: https://gerrit.libreoffice.org/36629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic/source/convdic.hxx')
-rw-r--r--linguistic/source/convdic.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/convdic.hxx b/linguistic/source/convdic.hxx
index 950df21b8099..53167b7123a7 100644
--- a/linguistic/source/convdic.hxx
+++ b/linguistic/source/convdic.hxx
@@ -39,7 +39,7 @@
#define SN_CONV_DICTIONARY "com.sun.star.linguistic2.ConversionDictionary"
-bool IsConvDic( const OUString &rFileURL, sal_Int16 &nLang, sal_Int16 &nConvType );
+bool IsConvDic( const OUString &rFileURL, LanguageType &nLang, sal_Int16 &nConvType );
typedef std::unordered_multimap<OUString, OUString, const OUStringHash> ConvMap;
@@ -69,7 +69,7 @@ protected:
OUString aMainURL; // URL to file
OUString aName;
- sal_Int16 nLanguage;
+ LanguageType nLanguage;
sal_Int16 nConversionType;
sal_Int16 nMaxLeftCharCount;
sal_Int16 nMaxRightCharCount;
@@ -89,7 +89,7 @@ protected:
public:
ConvDic( const OUString &rName,
- sal_Int16 nLanguage,
+ LanguageType nLanguage,
sal_Int16 nConversionType,
bool bBiDirectional,
const OUString &rMainURL);