summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/tabfrm.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2020-05-04 15:28:29 +0300
committerMichael Stahl <michael.stahl@cib.de>2020-05-06 10:49:17 +0200
commitd14ac9f792723d17dfbe5c826e22c732d9df0024 (patch)
tree20a2c4a6c2bf856cb28b2f257baf4a4b38cb51d6 /sw/source/core/layout/tabfrm.cxx
parent1eb6210d678bbb0c875f0f72bd876a9e7795dfbe (diff)
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 <justin_luth@sil.org> Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sw/source/core/layout/tabfrm.cxx')
-rw-r--r--sw/source/core/layout/tabfrm.cxx6
1 files changed, 0 insertions, 6 deletions
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,