summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-11 00:23:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-13 11:43:07 +0100
commit80ec3cb611cad6ecbd1a2684a93358b6f0cf6e00 (patch)
tree272cc8574a8c4802eeac18d829f588f3d3ed23dd /ucb/source
parent698bf10b4b258f3e169a7d242b95286e52e0b08c (diff)
createFromAscii -> RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index d933541c585e..d4c32fc239d8 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -2922,8 +2922,8 @@ uno::Any Content::MapDAVException( const DAVException & e, sal_Bool bWrite )
if ( m_bTransient )
{
aURL = getParentURL();
- if ( aURL.lastIndexOf( '/' ) != ( aURL.getLength() - 1 ) )
- aURL += rtl::OUString::createFromAscii( "/" );
+ if ( aURL.lastIndexOf('/') != ( aURL.getLength() - 1 ) )
+ aURL += rtl::OUString(static_cast<sal_Unicode>('/'));
aURL += m_aEscapedTitle;
}