diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-05-26 12:56:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-05-26 15:06:37 +0200 |
commit | 94639b415729beb2a27bcb47da2cbd5205006861 (patch) | |
tree | 7339b6632c9728ac9cf46490df2c1ddffd3bc0ef /sw | |
parent | c9581d7ada7d6a0e62653bdfa1e419ede6324970 (diff) |
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.mcnamara@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
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(); - } } } } |