diff options
Diffstat (limited to 'svtools/source/svhtml/htmlout.cxx')
-rw-r--r-- | svtools/source/svhtml/htmlout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index 1038b6f4a42a..ccfd5da20a82 100644 --- a/svtools/source/svhtml/htmlout.cxx +++ b/svtools/source/svhtml/htmlout.cxx @@ -955,7 +955,7 @@ OString HTMLOutFuncs::CreateTableDataOptionsValNum( aStrTD.append(' '). append(OOO_STRING_SVTOOLS_HTML_O_SDnum). append("=\""). - append(static_cast<sal_Int32>( + append((sal_Int32)static_cast<sal_uInt16>( Application::GetSettings().GetLanguageTag().getLanguageType())). append(';'); // Language for Format 0 if ( nFormat ) @@ -971,7 +971,7 @@ OString HTMLOutFuncs::CreateTableDataOptionsValNum( } else nLang = LANGUAGE_SYSTEM; - aStrTD.append(static_cast<sal_Int32>(nLang)).append(';'). + aStrTD.append((sal_Int32)static_cast<sal_uInt16>(nLang)).append(';'). append(aNumStr); } aStrTD.append('\"'); |