summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 1abf300f3d86..81064a94a8f7 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5366,8 +5366,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
// tdf#161717 - Track changes: Clicking on change in document should highlight related change
// in "Manage Changes" window/sidebar
- if (SwContentAtPos aRedlineContentAtPos(IsAttrAtPos::Redline);
- rSh.GetContentAtPos(aDocPt, aRedlineContentAtPos))
+ if (m_rView.GetWrtShell().GetCurrRedline())
{
SwDocShell* pDocSh = m_rView.GetDocShell();
if (pDocSh)