summaryrefslogtreecommitdiff
path: root/sc/source/filter/html/htmlexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/html/htmlexp.cxx')
-rw-r--r--sc/source/filter/html/htmlexp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index de2888e27cb7..6b93348afaf7 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -424,7 +424,7 @@ void ScHTMLExport::WriteOverview()
{
pDoc->GetName( nTab, aStr );
rStrm << "<A HREF=\"#table"
- << rtl::OString::valueOf(static_cast<sal_Int32>(nTab)).getStr()
+ << OString::number(nTab).getStr()
<< "\">";
OUT_STR( aStr );
rStrm << "</A>";
@@ -686,7 +686,7 @@ void ScHTMLExport::WriteTables()
// Anker festlegen:
rStrm << "<A NAME=\"table"
- << rtl::OString::valueOf(static_cast<sal_Int32>(nTab)).getStr()
+ << OString::number(nTab).getStr()
<< "\">";
TAG_ON( OOO_STRING_SVTOOLS_HTML_head1 );
OUT_STR( aStrOut );