summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:53:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:26:54 +0200
commit3e0a651f992dc9a230153e4ce65ecc862aec84a8 (patch)
treea737508d7fd4ecdec20f49aa083ef414bb7b84c8 /ucb/source/ucp/inc
parentf76633138d0b9b744fd4e551c571edd8971eb0ac (diff)
loplugin:salunicodeliteral: ucb
Change-Id: I236cf168d144debef1ba46cb6294f109773d0636
Diffstat (limited to 'ucb/source/ucp/inc')
-rw-r--r--ucb/source/ucp/inc/urihelper.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/inc/urihelper.hxx b/ucb/source/ucp/inc/urihelper.hxx
index 7de35d57f9e6..d1993e3e6324 100644
--- a/ucb/source/ucp/inc/urihelper.hxx
+++ b/ucb/source/ucp/inc/urihelper.hxx
@@ -48,13 +48,13 @@ namespace ucb_impl { namespace urihelper {
OUString aParams;
OUString aURI;
- sal_Int32 nFragment = rURI.lastIndexOf( sal_Unicode( '#' ) );
+ sal_Int32 nFragment = rURI.lastIndexOf( u'#' );
if ( nFragment != -1 )
aFragment = rURI.copy( nFragment + 1 );
sal_Int32 nParams = ( nFragment == -1 )
- ? rURI.lastIndexOf( sal_Unicode( '?' ) )
- : rURI.lastIndexOf( sal_Unicode( '?' ), nFragment );
+ ? rURI.lastIndexOf( u'?' )
+ : rURI.lastIndexOf( u'?', nFragment );
if ( nParams != -1 )
aParams = ( nFragment == -1 )
? rURI.copy( nParams + 1 )
@@ -90,19 +90,19 @@ namespace ucb_impl { namespace urihelper {
rtl_UriEncodeKeepEscapes, /* #i81690# */
RTL_TEXTENCODING_UTF8 ) );
if ( nIndex >= 0 )
- aResult.append( sal_Unicode( '/' ) );
+ aResult.append( u'/' );
}
while ( nIndex >= 0 );
if ( !aParams.isEmpty() )
{
- aResult.append( sal_Unicode( '?' ) );
+ aResult.append( u'?' );
aResult.append( aParams );
}
if ( !aFragment.isEmpty() )
{
- aResult.append( sal_Unicode( '#' ) );
+ aResult.append( u'#' );
aResult.append( aFragment );
}