TextMetrics.cpp: comment out addressBreakPoint function

Only user of this function is code that has been commented out, comment
out this function as well.

Signed-off-by: Lars Gullik Bjønnes <larsbj@gullik.org>
(cherry picked from commit fb3ecca01c)
This commit is contained in:
Lars Gullik Bjønnes 2012-05-20 10:56:44 +02:00 committed by Vincent van Ravesteijn
parent 993fa89009
commit d581412353

View File

@ -702,6 +702,8 @@ int TextMetrics::labelFill(pit_type const pit, Row const & row) const
}
#if 0
// Not used, see TextMetrics::rowBreakPoint.
// this needs special handling - only newlines count as a break point
static pos_type addressBreakPoint(pos_type i, Paragraph const & par)
{
@ -713,6 +715,7 @@ static pos_type addressBreakPoint(pos_type i, Paragraph const & par)
return end;
}
#endif
int TextMetrics::labelEnd(pit_type const pit) const