diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/inc/redlndlg.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/misc/redlndlg.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/redlndlg.hxx b/sw/source/uibase/inc/redlndlg.hxx index 910f23ce2d3d..d35ce818709f 100644 --- a/sw/source/uibase/inc/redlndlg.hxx +++ b/sw/source/uibase/inc/redlndlg.hxx @@ -74,7 +74,7 @@ class SW_DLLPUBLIC SwRedlineAcceptDlg final bool m_bInhibitActivate; std::unique_ptr<SvxAcceptChgCtr> m_xTabPagesCTRL; - std::unique_ptr<weld::Menu> m_xPopup; + std::unique_ptr<weld::Menu> m_xPopup, m_xSortMenu; SvxTPView* m_pTPView; SvxRedlinTable* m_pTable; // PB 2006/02/02 #i48648 now SvHeaderTabListBox diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index 1e0c58acd02f..4f242e273af6 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -149,6 +149,7 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(const std::shared_ptr<weld::Window>& rPar , m_bInhibitActivate(false) , m_xTabPagesCTRL(new SvxAcceptChgCtr(pContentArea, m_xParentDlg.get(), pBuilder)) , 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(); @@ -1028,7 +1029,7 @@ IMPL_LINK(SwRedlineAcceptDlg, CommandHdl, const CommandEvent&, rCEvt, bool) if (nColumn == -1) nColumn = 4; for (sal_Int32 i = 0; i < 5; ++i) - m_xPopup->set_active("writersort" + OString::number(i), i == nColumn); + m_xSortMenu->set_active("writersort" + OString::number(i), i == nColumn); OString sCommand = m_xPopup->popup_at_rect(&rTreeView, tools::Rectangle(rCEvt.GetMousePosPixel(), Size(1,1))); |