diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-09-01 21:36:57 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-09-01 21:38:01 +0200 |
commit | 90d0127666b4d266a6ba151c0603ffe66f1f3a91 (patch) | |
tree | 7233596178b0d14e7c72706b56410f180439dac1 | |
parent | dc8f9877d115f126c3bb211a0747a17f27a7f42c (diff) |
Remove SwEditWin::ShowHeaderFooterSeparator
Change-Id: Ibbe784ee205bae0854dabe8844c53c9d72382884
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 13 | ||||
-rw-r--r-- | sw/source/ui/inc/edtwin.hxx | 3 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
3 files changed, 0 insertions, 17 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: diff --git a/unusedcode.easy b/unusedcode.easy index 65974670980f..fab793529279 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -7,7 +7,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any cons ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&) SvtSlideSorterBarOptions::AddListenerLink(Link const&) SvtSlideSorterBarOptions::RemoveListenerLink(Link const&) -SwEditWin::ShowHeaderFooterSeparator(bool, bool) TextEngine::GetLeftMargin() const ThumbnailView::GetItemCount() const ThumbnailView::ImplScroll(Point const&) |