[Libreoffice-commits] core.git: sc/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 11 11:45:00 UTC 2019
sc/source/ui/view/gridwin5.cxx | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit 29400185a003bfe9cdbc6e744c4a0d0e40005b03
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Jul 11 09:29:21 2019 +0200
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Thu Jul 11 13:44:01 2019 +0200
tdf#121012 Display "Ctrl-click to follow hyperlink" inside shapes/textfields
Change-Id: I8def50f0de20098ebbfd2b0934825a297e1d24d0
Reviewed-on: https://gerrit.libreoffice.org/75408
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index cf19422208d6..1d2ff0af25b4 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -314,6 +314,16 @@ void ScGridWindow::RequestHelp(const HelpEvent& rHEvt)
if( aVEvt.eEvent == SdrEventKind::ExecuteUrl )
{
aHelpText = aVEvt.pURLField->GetURL();
+ if( bCtrlClickHlink )
+ {
+ //prefix STR_CTRLCLICKHYPERLINK to aHelpText
+ aHelpText = aCtrlClickHlinkStr + aHelpText;
+ }
+ else
+ {
+ //Option not set, so prefix STR_CLICKHYPERLINK
+ aHelpText = aClickHlinkStr + aHelpText;
+ }
aPixRect = LogicToPixel(aVEvt.pObj->GetLogicRect());
}
else
More information about the Libreoffice-commits
mailing list