summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/uriproc/ExternalUriReferenceTranslator.cxx')
-rw-r--r--stoc/source/uriproc/ExternalUriReferenceTranslator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
index b042197bd858..91f5b8cd68d8 100644
--- a/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
+++ b/stoc/source/uriproc/ExternalUriReferenceTranslator.cxx
@@ -114,7 +114,7 @@ OUString Translator::translateToInternal(
// authority part; treat them as having an empty authority part:
if (!externalUriReference.matchAsciiL(RTL_CONSTASCII_STRINGPARAM("//"), i))
{
- buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("//"));
+ buf.append("//");
}
rtl_TextEncoding encoding = osl_getThreadTextEncoding();
for (bool path = true;;) {