summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-10 09:26:03 +0200
committerNoel Grandin <noel@peralex.com>2013-12-12 13:15:25 +0200
commit80612512fe3d681f13b794e84e30072ba149b698 (patch)
tree853f5c8f9634189e7f456a994b09cfd5f95fe479 /stoc
parent7e72b9de5545ac3baaa44e2d7f11c2872b1677a7 (diff)
remove unnecessary casts
It is no longer necessary to cast to sal_Unicode when calling OUStringBuffer::append Change-Id: Iab3d1e12eef472cfe11f1d0d1969ca404091dd7d
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
index da17cbc4b82e..53c15bff3d6f 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
@@ -345,7 +345,7 @@ void UrlReference::setParameter(OUString const & key, OUString const & value)
OUStringBuffer newPath;
newPath.append(m_base.m_path.copy(0, i));
if (!bExistent) {
- newPath.append(sal_Unicode(m_base.m_path.indexOf('?') < 0 ? '?' : '&'));
+ newPath.append( m_base.m_path.indexOf('?') < 0 ? '?' : '&' );
newPath.append(encodeNameOrParamFragment(key));
newPath.append('=');
}