summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx4
-rw-r--r--ucb/source/ucp/webdav-neon/NeonUri.cxx4
-rw-r--r--ucb/source/ucp/webdav/SerfUri.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 34c6ea2b31df..9dd1b6bf0b73 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -1566,7 +1566,7 @@ void Content::insert( const uno::Reference< io::XInputStream >& xData,
{
OUStringBuffer aNew = aNewUri.getUri();
aNew.append( "_" );
- aNew.append( OUString::number( ++nTry ) );
+ aNew.append( ++nTry );
aNewUri.setUri( aNew.makeStringAndClear() );
}
while ( hasData( aNewUri ) && ( nTry < 1000 ) );
@@ -1586,7 +1586,7 @@ void Content::insert( const uno::Reference< io::XInputStream >& xData,
{
OUStringBuffer aNewTitle = m_aProps.getTitle();
aNewTitle.append( "_" );
- aNewTitle.append( OUString::number( ++nTry ) );
+ aNewTitle.append( ++nTry );
m_aProps.setTitle( aNewTitle.makeStringAndClear() );
}
}
diff --git a/ucb/source/ucp/webdav-neon/NeonUri.cxx b/ucb/source/ucp/webdav-neon/NeonUri.cxx
index 4c88819e7bb5..df641fce518d 100644
--- a/ucb/source/ucp/webdav-neon/NeonUri.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonUri.cxx
@@ -189,7 +189,7 @@ void NeonUri::calculateURI ()
if ( bAppendPort )
{
aBuf.append( ":" );
- aBuf.append( OUString::number( mPort ) );
+ aBuf.append( mPort );
}
aBuf.append( mPath );
@@ -283,7 +283,7 @@ OUString NeonUri::makeConnectionEndPointString(
if ( ( nPort != DEFAULT_HTTP_PORT ) && ( nPort != DEFAULT_HTTPS_PORT ) )
{
aBuf.append( ":" );
- aBuf.append( OUString::number( nPort ) );
+ aBuf.append( static_cast<sal_Int32>(nPort) );
}
return aBuf.makeStringAndClear();
}
diff --git a/ucb/source/ucp/webdav/SerfUri.cxx b/ucb/source/ucp/webdav/SerfUri.cxx
index dab11a64cfa9..8852779faeba 100644
--- a/ucb/source/ucp/webdav/SerfUri.cxx
+++ b/ucb/source/ucp/webdav/SerfUri.cxx
@@ -146,7 +146,7 @@ void SerfUri::calculateURI ()
if ( bAppendPort )
{
aBuf.append( ":" );
- aBuf.append( OUString::number( mPort ) );
+ aBuf.append( mPort );
}
aBuf.append( mPath );
@@ -240,7 +240,7 @@ OUString SerfUri::makeConnectionEndPointString(
if ( ( nPort != DEFAULT_HTTP_PORT ) && ( nPort != DEFAULT_HTTPS_PORT ) )
{
aBuf.append( ":" );
- aBuf.append( OUString::number( sal_Int32( nPort ) ) );
+ aBuf.append( sal_Int32( nPort ) );
}
return aBuf.makeStringAndClear();
}