From fb3ecca01cdd1e3f5af05e429801f7ef2abdf84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Sun, 20 May 2012 10:56:44 +0200 Subject: [PATCH] TextMetrics.cpp: comment out addressBreakPoint function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/TextMetrics.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 1000affa05..0756befbef 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -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