diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java index bd8828085..bd2472fbf 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlConverter.java @@ -164,7 +164,6 @@ public class WordToHtmlConverter extends AbstractWordConverter public Document getDocument() { - htmlDocumentFacade.updateStylesheet(); return htmlDocumentFacade.getDocument(); } @@ -232,6 +231,8 @@ public class WordToHtmlConverter extends AbstractWordConverter if ( notes != null ) htmlDocumentFacade.getBody().appendChild( notes ); + + htmlDocumentFacade.updateStylesheet(); } @Override