From c70d49c7c888da8cfd73db8585e7be1f37fc398a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 17 Apr 2017 21:35:35 +0200 Subject: use strong_int for LanguageType Change-Id: If99a944f7032180355da291ad283b4cfcea4f448 Reviewed-on: https://gerrit.libreoffice.org/36629 Tested-by: Jenkins Reviewed-by: Noel Grandin --- rsc/source/parser/rscibas.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rsc') diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx index a0b677e7a1e6..6fd5070eae33 100644 --- a/rsc/source/parser/rscibas.cxx +++ b/rsc/source/parser/rscibas.cxx @@ -76,8 +76,8 @@ sal_uInt32 GetLangId(const OString &rLang) void RscLangEnum::Init( RscNameTable& rNames ) { - SetConstant( rNames.Put( "SYSTEM", CONSTNAME, (long)LANGUAGE_SYSTEM ), LANGUAGE_SYSTEM ); - SetConstant( rNames.Put( "DONTKNOW", CONSTNAME, LANGUAGE_DONTKNOW ), LANGUAGE_DONTKNOW ); + SetConstant( rNames.Put( "SYSTEM", CONSTNAME, (sal_uInt16)LANGUAGE_SYSTEM ), (sal_uInt16)LANGUAGE_SYSTEM ); + SetConstant( rNames.Put( "DONTKNOW", CONSTNAME, (sal_uInt16)LANGUAGE_DONTKNOW ), (sal_uInt16)LANGUAGE_DONTKNOW ); sal_Int32 nIndex = 0; mnLangId = 0x400; // stay away from selfdefined... -- cgit