diff options
Diffstat (limited to 'svl/source/misc/urihelper.cxx')
-rw-r--r-- | svl/source/misc/urihelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx index 43a4cd500e1b..f5ac858474c2 100644 --- a/svl/source/misc/urihelper.cxx +++ b/svl/source/misc/urihelper.cxx @@ -786,16 +786,16 @@ OUString URIHelper::resolveIdnaHost(OUString const & url) { return url; } OUStringBuffer buf(uri->getScheme()); - buf.append("://").append(auth.subView(0, hostStart)); + buf.append(OUString::Concat("://") + auth.subView(0, hostStart)); buf.append( reinterpret_cast<sal_Unicode const *>(ascii.getBuffer()), ascii.length()); - buf.append(auth.subView(hostEnd)).append(uri->getPath()); + buf.append(auth.subView(hostEnd) + uri->getPath()); if (uri->hasQuery()) { - buf.append('?').append(uri->getQuery()); + buf.append("?" + uri->getQuery()); } if (uri->hasFragment()) { - buf.append('#').append(uri->getFragment()); + buf.append("#" + uri->getFragment()); } return buf.makeStringAndClear(); } |