diff options
Diffstat (limited to 'unotools/source/config/lingucfg.cxx')
-rw-r--r-- | unotools/source/config/lingucfg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index 9dfc019b19ac..d11b9c62fd6f 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -524,7 +524,7 @@ bool SvtLinguConfigItem::SetProperty( sal_Int32 nPropertyHandle, const uno::Any { if (nNew != (sal_uInt16)*plVal) { - *plVal = LanguageType(nNew); + *plVal = LanguageType(static_cast<sal_uInt16>(nNew)); bMod = true; } bSucc = true; |