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 1034a3b2f..97e06af9c 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; }