summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_content.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index c08faf683959..a445ccd5ef2d 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -1678,7 +1678,7 @@ void Content::insert( const uno::Reference< io::XInputStream >& xData,
{
OUStringBuffer aNew = aNewUri.getUri();
aNew.appendAscii( "_" );
- aNew.append( OUString::valueOf( ++nTry ) );
+ aNew.append( OUString::number( ++nTry ) );
aNewUri.setUri( aNew.makeStringAndClear() );
}
while ( hasData( aNewUri ) && ( nTry < 1000 ) );
@@ -1698,7 +1698,7 @@ void Content::insert( const uno::Reference< io::XInputStream >& xData,
{
OUStringBuffer aNewTitle = m_aProps.getTitle();
aNewTitle.appendAscii( "_" );
- aNewTitle.append( OUString::valueOf( ++nTry ) );
+ aNewTitle.append( OUString::number( ++nTry ) );
m_aProps.setTitle( aNewTitle.makeStringAndClear() );
}
}