From 80ec3cb611cad6ecbd1a2684a93358b6f0cf6e00 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 11 Jun 2011 00:23:56 +0100 Subject: createFromAscii -> RTL_CONSTASCII_USTRINGPARAM --- ucb/source/ucp/webdav/webdavcontent.cxx | 4 ++-- 1 file 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('/')); aURL += m_aEscapedTitle; } -- cgit