[Libreoffice-commits] core.git: sw/source

Muhammet Kara muhammet.kara at pardus.org.tr
Mon Apr 4 06:36:39 UTC 2016


 sw/source/core/text/itrform2.cxx |   12 ------------
 1 file changed, 12 deletions(-)

New commits:
commit 157bfa806388053e573e97b26871d6de4d6dce52
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
Date:   Sat Apr 2 20:50:04 2016 +0300

    Remove commented-out code portion
    
    Remove inactive code portion which has been
    sitting there for about a decade.
    
    Change-Id: I70d87333ed6f12c1e02913201ffba93be654a471
    Reviewed-on: https://gerrit.libreoffice.org/23747
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>

diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index b9f8d30..4e72cd4 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -220,18 +220,6 @@ SwLinePortion *SwTextFormatter::Underflow( SwTextFormatInfo &rInf )
     // What? The under-flow portion is not in the portion chain?
     OSL_ENSURE( pPor, "SwTextFormatter::Underflow: overflow but underflow" );
 
-    // i#29529 - correction: no delete of footnotes
-//    if( rInf.IsFootnoteInside() && pPor && !rInf.IsQuick() )
-//    {
-//        SwLinePortion *pTmp = pPor->GetPortion();
-//        while( pTmp )
-//        {
-//            if( pTmp->IsFootnotePortion() )
-//                ((SwFootnotePortion*)pTmp)->ClearFootnote();
-//            pTmp = pTmp->GetPortion();
-//        }
-//    }
-
     // Snapshot
     if ( pPor==rInf.GetLast() )
     {


More information about the Libreoffice-commits mailing list