diff options
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyuri.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/inc/urihelper.hxx | 12 | ||||
-rw-r--r-- | ucb/source/ucp/package/pkguri.hxx | 2 |
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'/' ) ); } } |