diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-04-13 17:22:10 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-04-13 18:06:40 +0200 |
commit | aa818a0b977084af21667fb68d1728bd5f300c4b (patch) | |
tree | 79a88baf44132463fe72ec6fa9c5dfde4372353e /sw/inc | |
parent | 739b63ea2b11b3c82939c5ea4e8ac682585ac1ec (diff) |
sw bibliography, refer to a page: fix biblio field relative URLs
Clicking always requires an absolute URL, so add functionality to get
the absolute URL (even if the field has a relative one) and use that
when handling a click.
Change-Id: I05f8b11937eac7b6032750557f4066181c6e4520
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114059
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/authfld.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index c9c7fd880b7b..681f95eddc31 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -186,6 +186,7 @@ public: OUString GetAuthority(const SwTextAttr* pTextAttr, const SwRootFrame* pLayout) const; bool HasURL() const; + OUString GetAbsoluteURL() const; void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; |