mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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>
(cherry picked from commit fb3ecca01c
)
This commit is contained in:
parent
993fa89009
commit
d581412353
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user