summaryrefslogtreecommitdiff
path: root/ucb
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
parentf76633138d0b9b744fd4e551c571edd8971eb0ac (diff)
loplugin:salunicodeliteral: ucb
Change-Id: I236cf168d144debef1ba46cb6294f109773d0636
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyuri.hxx2
-rw-r--r--ucb/source/ucp/inc/urihelper.hxx12
-rw-r--r--ucb/source/ucp/package/pkguri.hxx2
3 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.hxx b/ucb/source/ucp/hierarchy/hierarchyuri.hxx
index 388a3055302d..bc78214d0421 100644
--- a/ucb/source/ucp/hierarchy/hierarchyuri.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchyuri.hxx
@@ -67,7 +67,7 @@ inline bool HierarchyUri::isRootFolder() const
{
init();
return ( ( m_aPath.getLength() == 1 ) &&
- ( m_aPath.getStr()[ 0 ] == sal_Unicode( '/' ) ) );
+ ( m_aPath.getStr()[ 0 ] == u'/' ) );
}
}
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 );
}
diff --git a/ucb/source/ucp/package/pkguri.hxx b/ucb/source/ucp/package/pkguri.hxx
index 605e53933827..52e3e01fff41 100644
--- a/ucb/source/ucp/package/pkguri.hxx
+++ b/ucb/source/ucp/package/pkguri.hxx
@@ -82,7 +82,7 @@ inline bool PackageUri::isRootFolder() const
{
init();
return ( ( m_aPath.getLength() == 1 ) &&
- ( m_aPath.getStr()[ 0 ] == sal_Unicode( '/' ) ) );
+ ( m_aPath.getStr()[ 0 ] == u'/' ) );
}
}