From c418194ce5e99ded90fb963bb268ac64552d4c6e Mon Sep 17 00:00:00 2001 From: Jeremy Henty Date: Tue, 2 Jun 2015 21:06:36 +0200 Subject: Remove dw::Table::_unused_calcColumnExtremes(). --- dw/table.cc | 18 ------------------ dw/table.hh | 1 - 2 files changed, 19 deletions(-) diff --git a/dw/table.cc b/dw/table.cc index 4ceb4020..64b7259e 100644 --- a/dw/table.cc +++ b/dw/table.cc @@ -1208,24 +1208,6 @@ void Table::apportionRowSpan () } -/** - * \brief Fills dw::Table::colExtremes, only if recalculation is necessary. - * - * \bug Some parts are missing. - */ -void Table::_unused_calcColumnExtremes () -{ - // This method is actually not used. Consider removal. - - DBG_OBJ_ENTER0 ("resize", 0, "calcColumnExtremes"); - - if (extremesChanged () || extremesQueued ()) - forceCalcColumnExtremes (); - - DBG_OBJ_LEAVE (); -} - - /** * \brief Fills dw::Table::colExtremes in all cases. */ diff --git a/dw/table.hh b/dw/table.hh index ed433594..e1764dbb 100644 --- a/dw/table.hh +++ b/dw/table.hh @@ -440,7 +440,6 @@ private: void actuallyCalcCellSizes (bool calcHeights); void apportionRowSpan (); - void _unused_calcColumnExtremes (); void forceCalcColumnExtremes (); void calcExtremesSpanMultiCols (int col, int cs, core::Extremes *cellExtremes, -- cgit v1.2.3