From d581412353b777afcee59e2b0411ffffafc02567 Mon Sep 17 00:00:00 2001 From: =?utf8?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=utf8 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 (cherry picked from commit fb3ecca01cdd1e3f5af05e429801f7ef2abdf84e) --- src/TextMetrics.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index e764da5976..32ea844f59 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -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 -- 2.39.5