diff options
Diffstat (limited to 'sw/source/ui/wrtsh/wrtsh1.cxx')
| -rw-r--r-- | sw/source/ui/wrtsh/wrtsh1.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx index b67e43350d93..d042c4dc5a42 100644 --- a/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/sw/source/ui/wrtsh/wrtsh1.cxx @@ -1889,14 +1889,11 @@ void SwWrtShell::ChangeHeaderOrFooter( EndAllAction(); } -void SwWrtShell::SetShowHeaderFooterSeparator( bool bShow ) +void SwWrtShell::SetShowHeaderFooterSeparator( FrameControlType eControl, bool bShow ) { - ViewShell::SetShowHeaderFooterSeparator( bShow ); + ViewShell::SetShowHeaderFooterSeparator( eControl, bShow ); if ( !bShow ) - { - GetView().GetEditWin().GetFrameControlsManager().HideControls( Header ); - GetView().GetEditWin().GetFrameControlsManager().HideControls( Footer ); - } + GetView().GetEditWin().GetFrameControlsManager().HideControls( eControl ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |
