diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_uri.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_uri.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_uri.cxx b/ucb/source/ucp/tdoc/tdoc_uri.cxx index 5da084d9de41..ce670c29cd7d 100644 --- a/ucb/source/ucp/tdoc/tdoc_uri.cxx +++ b/ucb/source/ucp/tdoc/tdoc_uri.cxx @@ -65,8 +65,7 @@ void Uri::init() const // Check for proper scheme. (Scheme is case insensitive.) rtl::OUString aScheme = m_aUri.copy( 0, TDOC_URL_SCHEME_LENGTH ).toAsciiLowerCase(); - if ( !aScheme.equalsAsciiL( - RTL_CONSTASCII_STRINGPARAM( TDOC_URL_SCHEME ) ) ) + if ( aScheme != TDOC_URL_SCHEME ) { // Invaild scheme. return; |