summaryrefslogtreecommitdiff
path: root/lo.xcent
diff options
context:
space:
mode:
authorTünde Tóth <tundeth@gmail.com>2019-11-07 14:06:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-12 22:23:45 +0100
commit739e6aa3b3cff6d63901f253e145b65a2fef2682 (patch)
treea449793efa0b351126f9a1952db91c2353947d0c /lo.xcent
parent51b3252cc43c302de2307da15e9398912d044796 (diff)
tdf#54204 File URLs with fragment need toIUri conversion
Non-ASCII file links didn't work when the link contains anchor at the end. Note: The "correct" way to convert from a LO-internal to -external file URL would be the translateToExternal method of the css.uri.ExternalUriReferenceTranslator UNO service. But that translates the URL to be interpreted according to the current Windows code page (i.e., osl_getThreadTextEncoding), so only supports characters covered by that code page, and given that the result is passed into a Windows wchar_t API, ToIUri nicely avoids such potential conversion failure. Change-Id: I1a5b07366b0fea3da2fbe11a9378aacd765b5e04 Reviewed-on: https://gerrit.libreoffice.org/82219 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'lo.xcent')
0 files changed, 0 insertions, 0 deletions