[Libreoffice-commits] .: sw/source unusedcode.easy

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Sep 1 12:40:04 PDT 2012


 sw/source/ui/docvw/edtwin.cxx |   13 -------------
 sw/source/ui/inc/edtwin.hxx   |    3 ---
 unusedcode.easy               |    1 -
 3 files changed, 17 deletions(-)

New commits:
commit 90d0127666b4d266a6ba151c0603ffe66f1f3a91
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Sep 1 21:36:57 2012 +0200

    Remove SwEditWin::ShowHeaderFooterSeparator
    
    Change-Id: Ibbe784ee205bae0854dabe8844c53c9d72382884

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index c496f0a..777f072 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 a606644..01f100a 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 6597467..fab7935 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&)


More information about the Libreoffice-commits mailing list