mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +00:00
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:
parent
e3ccd64f2e
commit
fb3ecca01c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user