diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 17:53:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 18:26:53 +0200 |
commit | b2d465b2b6a682760ebe17199c0cace8302b00b3 (patch) | |
tree | 03836a60d398a32919aa2ca9807c445a0a3d7867 /xmlhelp | |
parent | b7f688f7ab4f79b6c2092f8756e66eb8219f88e4 (diff) |
loplugin:salunicodeliteral: xmlhelp
Change-Id: I126b08c3725b325fff84421b0b93e72cb3938b84
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/urlparameter.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx index 4a6a7af4a033..07601e48eb1a 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx @@ -50,7 +50,7 @@ namespace chelp { sal_Int32 sizeOfFile = ( sal_Int32 ) m_ptr[0]; OUString Hash( m_ptr+1,sizeOfFile,RTL_TEXTENCODING_UTF8 ); sal_Int32 idx; - if( ( idx = Hash.indexOf( sal_Unicode( '#' ) ) ) != -1 ) + if( ( idx = Hash.indexOf( u'#' ) ) != -1 ) return Hash.copy( 1+idx ); } return OUString(); @@ -65,7 +65,7 @@ namespace chelp { sal_Int32 sizeOfFile = ( sal_Int32 ) m_ptr[0]; OUString File( m_ptr+1,sizeOfFile,RTL_TEXTENCODING_UTF8 ); sal_Int32 idx; - if( ( idx = File.indexOf( sal_Unicode( '#' ) ) ) != -1 ) + if( ( idx = File.indexOf( u'#' ) ) != -1 ) return File.copy( 0,idx ); else return File; |