sw/source/uibase/docvw/edtwin.cxx | 5 ----- 1 file changed, 5 deletions(-)
New commits: commit 94639b415729beb2a27bcb47da2cbd5205006861 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Fri May 26 12:56:16 2023 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri May 26 15:06:37 2023 +0200 SwViewShell::ToggleHeaderFooterEdit already calls GetWin()->Invalidate() so this is a duplicate call, drop it Change-Id: I4d332217594f7e1ceb4692ea31a6718ecd44d1ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152304 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 5bcbd4a9c843..1e07a0f4fcdc 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -3006,12 +3006,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) rSh.SetShowHeaderFooterSeparator( FrameControlType::Footer, eControl == FrameControlType::Footer ); if ( !rSh.IsHeaderFooterEdit() ) - { rSh.ToggleHeaderFooterEdit(); - - // Repaint everything - rSh.GetWin()->Invalidate(); - } } } }