diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 08:16:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:32 +0200 |
commit | d366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch) | |
tree | 4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /uui | |
parent | d2fa59e4025050c9b668ecff379d668f0db52639 (diff) |
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/iahndl-ssl.cxx | 2 | ||||
-rw-r--r-- | uui/source/secmacrowarnings.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx index b17748fc5faa..a23c3bd41cef 100644 --- a/uui/source/iahndl-ssl.cxx +++ b/uui/source/iahndl-ssl.cxx @@ -66,7 +66,7 @@ getContentPart( const OUString& _rRawString ) if ( nContStart != -1 ) { nContStart += sPartId.getLength(); - sal_Int32 nContEnd = _rRawString.indexOf( sal_Unicode( ',' ), nContStart ); + sal_Int32 nContEnd = _rRawString.indexOf( ',', nContStart ); if ( nContEnd != -1 ) sPart = _rRawString.copy( nContStart, nContEnd - nContStart ); else diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx index 1f3cd13b35b3..e36101bc0e5a 100644 --- a/uui/source/secmacrowarnings.cxx +++ b/uui/source/secmacrowarnings.cxx @@ -51,7 +51,7 @@ namespace nContStart = nContStart + _rPartId.getLength(); ++nContStart; // now it's start of content, directly after Id - sal_Int32 nContEnd = _rRawString.indexOf( sal_Unicode( ',' ), nContStart ); + sal_Int32 nContEnd = _rRawString.indexOf( ',', nContStart ); if ( nContEnd != -1 ) s = _rRawString.copy( nContStart, nContEnd - nContStart ); |