summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-09-01 21:36:57 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-09-01 21:38:01 +0200
commit90d0127666b4d266a6ba151c0603ffe66f1f3a91 (patch)
tree7233596178b0d14e7c72706b56410f180439dac1 /sw
parentdc8f9877d115f126c3bb211a0747a17f27a7f42c (diff)
Remove SwEditWin::ShowHeaderFooterSeparator
Change-Id: Ibbe784ee205bae0854dabe8844c53c9d72382884
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/docvw/edtwin.cxx13
-rw-r--r--sw/source/ui/inc/edtwin.hxx3
2 files changed, 0 insertions, 16 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index c496f0a59796..777f072d3f0d 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -5739,19 +5739,6 @@ void SwEditWin::ShowAutoTextCorrectQuickHelp(
}
}
-void SwEditWin::ShowHeaderFooterSeparator( bool bShowHeader, bool bShowFooter )
-{
- SwWrtShell& rSh = rView.GetWrtShell();
-
- if ( ( rSh.IsShowHeaderFooterSeparator( Header ) != bShowHeader ) ||
- ( rSh.IsShowHeaderFooterSeparator( Footer ) != bShowFooter ) )
- {
- rSh.SetShowHeaderFooterSeparator( Header, bShowHeader );
- rSh.SetShowHeaderFooterSeparator( Footer, bShowFooter );
- Invalidate();
- }
-}
-
bool SwEditWin::IsInHeaderFooter( const Point &rDocPt, FrameControlType &rControl ) const
{
SwWrtShell &rSh = rView.GetWrtShell();
diff --git a/sw/source/ui/inc/edtwin.hxx b/sw/source/ui/inc/edtwin.hxx
index a606644fc6cf..01f100aa9b78 100644
--- a/sw/source/ui/inc/edtwin.hxx
+++ b/sw/source/ui/inc/edtwin.hxx
@@ -225,9 +225,6 @@ protected:
void ShowAutoTextCorrectQuickHelp( const String& rWord, SvxAutoCorrCfg* pACfg,
SvxAutoCorrect* pACorr, sal_Bool bFromIME = sal_False );
- /// Shows or hides the header & footer separators; only if there is a change.
- void ShowHeaderFooterSeparator( bool bShowHeader, bool bShowFooter );
-
/// Returns true if in header/footer area, or in the header/footer control.
bool IsInHeaderFooter( const Point &rDocPt, FrameControlType &rControl ) const;
public: