summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-07-11 15:44:18 +0200
committerEike Rathke <erack@redhat.com>2018-07-11 18:35:28 +0200
commite6b18c1d0f377e1295970b94bdf6b90739e13d4d (patch)
tree367e84359dc1cb552660103e4f9eaa3851dda6d9 /svgio
parent4dfc014cb3838b61faef32991c8083787ee6d60c (diff)
ScGlobal::OpenURL: support relative references as URI references in hyperlinks
Instead of failing with "is not an absolute URL" error. For example in the HYPERLINK() spreadsheet function where Excel supports it, but also anywhere else that calls OpenURL(). A relative reference is relative to the current document, or for yet unsaved documents or if no object shell is available relative to the work path, as usual. Additional benefit is that "\\" UNC path names are accepted as smb:// Samba shares and DOS \ path name separators resolved for a proper file:// URI. Users are asking for this, found no related tdf# bug/RFE. See https://ask.libreoffice.org/en/question/160280/relative-and-absolute-hyperlinks/ and other linked q&a therein. Change-Id: Ib314b71d68fbe1793ec614cbf7c0c058fad14a10 Reviewed-on: https://gerrit.libreoffice.org/57277 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'svgio')
0 files changed, 0 insertions, 0 deletions