]> source.dussan.org Git - poi.git/commitdiff
Remove unnecessary StringBuilder [thanks to Kui Liu]. This close #80.
authorPJ Fanning <fanningpj@apache.org>
Sun, 15 Oct 2017 20:25:33 +0000 (20:25 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 15 Oct 2017 20:25:33 +0000 (20:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812232 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java

index 38c45361b088f00e923af18bd7f3516e2157f6ff..a8ca6ca8a22a5af2476c24d65df74c743aa5cbf7 100644 (file)
@@ -333,8 +333,6 @@ public class WordToHtmlConverter extends AbstractWordConverter
         final int aspectRatioX = picture.getHorizontalScalingFactor();
         final int aspectRatioY = picture.getVerticalScalingFactor();
 
-        StringBuilder style = new StringBuilder();
-
         final float imageWidth;
         final float imageHeight;
 
@@ -402,7 +400,6 @@ public class WordToHtmlConverter extends AbstractWordConverter
                             + imageHeight + "in;" );
             inner.appendChild( image );
 
-            style.append( "overflow:hidden;" );
         }
         else
         {