sw/source/uibase/docvw/edtwin.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 0f9beed6e610bab184cedc96916b723463de6620
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: Wed Jul 26 15:40:52 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>
    (cherry picked from commit 94639b415729beb2a27bcb47da2cbd5205006861)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154850
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/sw/source/uibase/docvw/edtwin.cxx 
b/sw/source/uibase/docvw/edtwin.cxx
index f868a6ed1002..c8a8ea0b7cb4 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -3005,12 +3005,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
                 rSh.SetShowHeaderFooterSeparator( FrameControlType::Footer, 
eControl == FrameControlType::Footer );
 
                 if ( !rSh.IsHeaderFooterEdit() )
-                {
                     rSh.ToggleHeaderFooterEdit();
-
-                    // Repaint everything
-                    rSh.GetWin()->Invalidate();
-                }
             }
         }
     }

Reply via email to