summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorrafaelhlima <rafael.palma.lima@gmail.com>2022-01-18 11:25:59 -0300
committerRafael Lima <rafael.palma.lima@gmail.com>2022-01-24 18:16:09 +0100
commit2e1a38ceb6866248ec30f6fe58cd3adc1b910eec (patch)
treec00cd2f96a31995b04a16fcdf7adf1bf5783639f /sw
parent7679820af5739d3b6d5de0c4cb771d081407f406 (diff)
tdf#146893 Rework Manage Changes dialog
This patch reworks the "Manage Changes" dialog (In Writer, Edit > Track Changes > Manage) so that the buttons "Accept", "Accept all", "Reject", "Reject all" and "Undo" only appear in the List tab, since they're not needed in the Filter tab. A help button is also added and HID constants are defined for both tabs. Change-Id: I12da7811635dfc142d5d0a66d3275d3d170692e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128563 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/helpids.h2
-rw-r--r--sw/source/uibase/misc/redlndlg.cxx3
2 files changed, 1 insertions, 4 deletions
diff --git a/sw/inc/helpids.h b/sw/inc/helpids.h
index c5fa052b817a..65c49e22f311 100644
--- a/sw/inc/helpids.h
+++ b/sw/inc/helpids.h
@@ -37,8 +37,6 @@ inline constexpr OStringLiteral HID_NAVIGATOR_GLOB_TREELIST = "SW_HID_NAVIGATOR_
// TabPage Help-IDs
-inline constexpr OStringLiteral HID_REDLINE_CTRL = "SW_HID_REDLINE_CTRL";
-
inline constexpr OStringLiteral HID_LINGU_AUTOCORR = "SW_HID_LINGU_AUTOCORR";
inline constexpr OStringLiteral HID_LINGU_REPLACE = "SW_HID_LINGU_REPLACE";
inline constexpr OStringLiteral HID_LINGU_IGNORE_SELECTION = "SW_HID_LINGU_IGNORE_SELECTION"; // grammar check context menu
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx
index 2aed5f72bf37..12f9bdb1f101 100644
--- a/sw/source/uibase/misc/redlndlg.cxx
+++ b/sw/source/uibase/misc/redlndlg.cxx
@@ -150,11 +150,10 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(const std::shared_ptr<weld::Window>& rPar
, m_bOnlyFormatedRedlines(false)
, m_bRedlnAutoFormat(bAutoFormat)
, m_bInhibitActivate(false)
- , m_xTabPagesCTRL(new SvxAcceptChgCtr(pContentArea, m_xParentDlg.get(), pBuilder))
+ , m_xTabPagesCTRL(new SvxAcceptChgCtr(pContentArea))
, m_xPopup(pBuilder->weld_menu("writermenu"))
, m_xSortMenu(pBuilder->weld_menu("writersortmenu"))
{
- m_xTabPagesCTRL->set_help_id(HID_REDLINE_CTRL);
m_pTPView = m_xTabPagesCTRL->GetViewPage();
m_pTable = m_pTPView->GetTableControl();