diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-04-17 21:35:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-26 08:50:54 +0200 |
commit | c70d49c7c888da8cfd73db8585e7be1f37fc398a (patch) | |
tree | c0e540401850018464ca76300536faf9aa7e27d2 /include/svx | |
parent | RTF export: restore build-time test for self-containing headers (diff) | |
download | core-c70d49c7c888da8cfd73db8585e7be1f37fc398a.tar.gz core-c70d49c7c888da8cfd73db8585e7be1f37fc398a.zip |
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 'include/svx')
-rw-r--r-- | include/svx/langbox.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index ddf48e6472ec..d7a7f26e9a40 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -54,7 +54,7 @@ namespace o3tl } // load language strings from resource -SVX_DLLPUBLIC OUString GetDicInfoStr( const OUString& rName, const sal_uInt16 nLang, bool bNeg ); +SVX_DLLPUBLIC OUString GetDicInfoStr( const OUString& rName, const LanguageType nLang, bool bNeg ); class SVX_DLLPUBLIC SvxLanguageBoxBase { @@ -69,7 +69,7 @@ public: bool bHasLangNone, bool bLangNoneIsLangAll = false, bool bCheckSpellAvail = false ); - void AddLanguages( const css::uno::Sequence< sal_Int16 >& rLanguageTypes, SvxLanguageListFlags nLangList ); + void AddLanguages( const std::vector< LanguageType >& rLanguageTypes, SvxLanguageListFlags nLangList ); sal_Int32 InsertLanguage( const LanguageType eLangType ); void InsertDefaultLanguage( sal_Int16 nType ); |