sw/source/core/layout/tabfrm.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit d14ac9f792723d17dfbe5c826e22c732d9df0024
Author:     Justin Luth <[email protected]>
AuthorDate: Mon May 4 15:28:29 2020 +0300
Commit:     Michael Stahl <[email protected]>
CommitDate: Wed May 6 10:49:17 2020 +0200

    sw layout: remove useless historical timelog comments
    
    While there can be value in seeing bug numbers
    to figure out why certain code was added,
    these comments seem to have no value, but are
    just a timelog of when a formatting change was made.
    
    Change-Id: I47ccef9c7e4cd5c76aeec46867424dd8c9d05e13
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93441
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index ef59cf08d82e..47a81b870125 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -1520,8 +1520,6 @@ bool SwContentFrame::CalcLowers(SwLayoutFrame & rLay, 
SwLayoutFrame const& rDont
             // screen objects needed.
             // Thus, delete call of method <SwFrame::InvalidateObjs( true )>
             pCnt->Calc(pRenderContext);
-            // OD 2004-05-11 #i28701# - usage of new method 
<::FormatObjsAtFrame(..)>
-            // to format the floating screen objects
             // #i46941# - frame has to be valid
             // Note: frame could be invalid after calling its format, if it's 
locked.
             OSL_ENSURE( !pCnt->IsTextFrame() ||
@@ -2996,7 +2994,6 @@ void SwTabFrame::Format( vcl::RenderContext* 
/*pRenderContext*/, const SwBorderA
             case text::HoriOrientation::CENTER:
                 {
                     // OD 07.03.2003 #i9040# - consider left/right line 
attribute.
-                    // OD 10.03.2003 #i9040# -
                     const SwTwips nCenterSpacing = ( nMax - nWishedTableWidth 
) / 2;
                     nLeftSpacing = nLeftLine +
                                    ( (nLeftOffset > 0) ?
@@ -3999,8 +3996,6 @@ static SwTwips lcl_CalcMinCellHeight( const SwLayoutFrame 
*_pCell,
         long nFlyAdd = 0;
         while ( pLow )
         {
-            // OD 2004-02-18 #106629# - change condition and switch then-body
-            // and else-body
             if ( pLow->IsRowFrame() )
             {
                 // #i26945#
@@ -4041,7 +4036,6 @@ static SwTwips lcl_CalcMinCellHeight( const SwLayoutFrame 
*_pCell,
     return nHeight;
 }
 
-// OD 2004-02-18 #106629# - correct type of 1st parameter
 // #i26945# - add parameter <_bConsiderObjs> in order to control,
 // if floating screen objects have to be considered for the minimal cell height
 static SwTwips lcl_CalcMinRowHeight( const SwRowFrame* _pRow,
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to