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>
This commit is contained in:
Lars Gullik Bjønnes 2012-05-20 10:56:44 +02:00 committed by Vincent van Ravesteijn
parent e3ccd64f2e
commit fb3ecca01c

View File

@ -707,6 +707,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)
{
@ -718,6 +720,7 @@ static pos_type addressBreakPoint(pos_type i, Paragraph const & par)
return end;
}
#endif
int TextMetrics::labelEnd(pit_type const pit) const