summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_uri.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_uri.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_uri.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_uri.cxx b/ucb/source/ucp/tdoc/tdoc_uri.cxx
index 037d4d937cb2..24110bf8d755 100644
--- a/ucb/source/ucp/tdoc/tdoc_uri.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_uri.cxx
@@ -65,15 +65,13 @@ void Uri::init() const
// Remember normalized scheme string.
m_aUri = m_aUri.replaceAt( 0, aScheme.getLength(), aScheme );
- if ( m_aUri.getStr()[ TDOC_URL_SCHEME_LENGTH ]
- != sal_Unicode( ':' ) )
+ if ( m_aUri[ TDOC_URL_SCHEME_LENGTH ] != ':' )
{
// Invaild (no ':' after <scheme>).
return;
}
- if ( m_aUri.getStr()[ TDOC_URL_SCHEME_LENGTH + 1 ]
- != sal_Unicode( '/' ) )
+ if ( m_aUri[ TDOC_URL_SCHEME_LENGTH + 1 ] != '/' )
{
// Invaild (no '/' after <scheme>:).
return;