| commit | bc887dffd7fd561160b0963cffd8807e3ad2331e | [log] |
|---|---|---|
| author | Jim Raykowski <raykowj@gmail.com> | Mon Feb 03 18:30:39 2020 -0900 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Wed Feb 05 07:14:07 2020 +0100 |
| tree | 1e844f94e217c2e31121d79abd6e968d5d5dc6a1 | |
| parent | 65a468daafae43dec85d5e686029fa676d02343a [diff] |
tdf#128814 Add delete to Hyperlinks Navigator context menu Change-Id: I401ea84aa32e7d01f9fe157eac4d51981550fc76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87945 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index bb9258b..7cc8bf8 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx
@@ -426,7 +426,7 @@ void SwContentType::Init(bool* pbInvalidateWindow) m_bEdit = true; nOldMemberCount = m_nMemberCount; m_bDelete = false; m_bDelete = true; } break; case ContentTypeId::POSTIT: @@ -3654,7 +3654,10 @@ void SwContentTree::EditEntry(SvTreeListEntry const * pEntry, EditEntryMode nMod break; case ContentTypeId::URLFIELD: nSlot = SID_EDIT_HYPERLINK; if (nMode == EditEntryMode::DELETE) nSlot = SID_REMOVE_HYPERLINK; else nSlot = SID_EDIT_HYPERLINK; break; case ContentTypeId::REFERENCE: nSlot = FN_EDIT_FIELD;