summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/edtwin.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-03-12 17:51:07 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-03-12 19:32:19 +0100
commit64ffabbdb2725e93de997171708bb31c33c93a55 (patch)
tree2f27a4aa75990e5f9f2e7b5ec8cbada99a7714e0 /sw/source/uibase/docvw/edtwin.cxx
parent6db71f70a3b200d4074f6cda8ce445e9861d3296 (diff)
sw bibliography, refer to a page: make the biblio field clickable
- add support for this in SwWrtShell::ClickToField() - restrict this to ctrl-click by default (similar to hyperlinks) - ignore empty URLs - extend the tooltip to hint the URL - change pointer to hint that the field is clickable - downgrade the assert to SAL_WARN in SwAuthorityFieldType::RemoveField(), that currently fires every time a biblio field is de-selected Change-Id: I3b4a12d8a7661f7d8d41804f104505c7594debd6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112400 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/docvw/edtwin.cxx')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 1f95f9bdea31..93560ec91f3b 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -4809,7 +4809,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
}
else
{
- rSh.ClickToField( *aContentAtPos.aFnd.pField );
+ rSh.ClickToField(*aContentAtPos.aFnd.pField, bExecHyperlinks);
// a bit of a mystery what this is good for?
// in this case we assume it's valid since we
// just selected a field