diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-12-04 15:19:00 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-12-05 15:59:50 +0100 |
commit | f31c3ebb60e4678eb09e377b638b368531df47dc (patch) | |
tree | 2855d383a670d1dbc0c6c2ba5323e1e8d0357e7f /include/editeng | |
parent | c9a6d4bee737c3c39fc61d265dba0460b09c906f (diff) |
tdf#128666 Only enable hyperlink actions when just the field is selected
Change-Id: I984df967877a47fb9f89c3626737348a87d3ffa5
Reviewed-on: https://gerrit.libreoffice.org/84418
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/urlfieldhelper.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/editeng/urlfieldhelper.hxx b/include/editeng/urlfieldhelper.hxx index 547e2654ea9b..e6c7c92935a4 100644 --- a/include/editeng/urlfieldhelper.hxx +++ b/include/editeng/urlfieldhelper.hxx @@ -12,12 +12,13 @@ #include <sal/config.h> #include <editeng/editengdllapi.h> #include <editeng/outliner.hxx> +#include <editeng/editview.hxx> class EDITENG_DLLPUBLIC URLFieldHelper { public: - static void RemoveURLField(Outliner* pOutl, const OutlinerView* pOLV); - static bool IsCursorAtURLField(const OutlinerView* pOLV); + static void RemoveURLField(EditView& pEditView); + static bool IsCursorAtURLField(const EditView& pEditView); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |