From 4835636fedee08f7cce90b6b57b3a412a8074d29 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Tue, 19 Sep 2017 03:27:40 +0000 Subject: [PATCH] bug 61454: add column width to example Spreadsheet ToHtml; thanks to Christian Froehler git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808817 13f79535-47bb-0310-9956-ffa450edef68 --- src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java b/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java index 1034a3b2f3..97e06af9c6 100644 --- a/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java +++ b/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java @@ -391,7 +391,7 @@ public class ToHtml { tableWidth += headerColWidth; for (int i = firstColumn; i < endColumn; i++) { - int colWidth = poiWidthToPixels(sheet.getColumnWidth(i)); + int colWidth = widthToPixels(sheet.getColumnWidth(i)); ret.put(i, colWidth); tableWidth += colWidth; } -- 2.39.5