summaryrefslogtreecommitdiff
path: root/sw/source/core/view/viewsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/viewsh.cxx')
-rw-r--r--sw/source/core/view/viewsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 92481ed8de10..c831abbfeaee 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -77,7 +77,6 @@
#include "../../ui/inc/view.hxx"
#include <PostItMgr.hxx>
#include <vcl/virdev.hxx>
-#include <rootfrm.hxx>
#include <vcl/svapp.hxx>
@@ -99,6 +98,7 @@ using namespace ::com::sun::star;
void ViewShell::ToggleHeaderFooterEdit( ) {
bHeaderFooterEdit = !bHeaderFooterEdit;
+ SetShowHeaderFooterSeparator( bHeaderFooterEdit );
// Repaint everything to update the colors of the selected area
Paint( VisArea().SVRect() );
}