summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svhtml/htmlout.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index b39609ad38d8..13b9eca57f64 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -942,10 +942,10 @@ OString HTMLOutFuncs::CreateTableDataOptionsValNum(
}
if ( bValue || nFormat )
{
- aStrTD.append(" " OOO_STRING_SVTOOLS_HTML_O_SDnum "=\"").
- append(static_cast<sal_Int32>(static_cast<sal_uInt16>(
- Application::GetSettings().GetLanguageTag().getLanguageType()))).
- append(';'); // Language for Format 0
+ aStrTD.append(" " OOO_STRING_SVTOOLS_HTML_O_SDnum "=\"" +
+ OString::number(static_cast<sal_uInt16>(
+ Application::GetSettings().GetLanguageTag().getLanguageType())) +
+ ";"); // Language for Format 0
if ( nFormat )
{
OString aNumStr;