summaryrefslogtreecommitdiff
path: root/sc/inc/global.hxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-07-16 16:42:53 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-07-17 09:04:13 +0200
commit22069f3d5d1c00551bd254d1002966e515295475 (patch)
treefe8e59a61f1cd9c9cf1d4c196296bf73cea2db11 /sc/inc/global.hxx
parent30a0f574f0b0cc5bc8f8d365553ce02dae377d74 (diff)
tdf#126393 Select cell even when clicking on a hyperlink
and the hyperlink isn't being opened anyway (no ctrl clicked e.g.) Change-Id: Ic0c0df9b91000a8e661075901e8bfdb7167081f9 Reviewed-on: https://gerrit.libreoffice.org/75730 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc/inc/global.hxx')
-rw-r--r--sc/inc/global.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 0c1447f16721..c71403ebcdeb 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -567,6 +567,8 @@ public:
static void SetUserList( const ScUserList* pNewList );
/// Open the specified URL.
static void OpenURL(const OUString& rURL, const OUString& rTarget);
+ /// Whether the URL can be opened according to current security options (Click/Ctrl-Click)
+ static bool ShouldOpenURL();
SC_DLLPUBLIC static OUString GetAbsDocName( const OUString& rFileName,
const SfxObjectShell* pShell );
SC_DLLPUBLIC static OUString GetDocTabName( const OUString& rFileName,