diff options
-rw-r--r-- | xmerge/source/bridge/java/XMergeBridge.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmerge/source/bridge/java/XMergeBridge.java b/xmerge/source/bridge/java/XMergeBridge.java index fbdea40f0170..6cf8497dd9eb 100644 --- a/xmerge/source/bridge/java/XMergeBridge.java +++ b/xmerge/source/bridge/java/XMergeBridge.java @@ -193,17 +193,14 @@ public class XMergeBridge { XParser xParser = UnoRuntime.queryInterface( XParser.class , xSaxParserObj ); - if (xParser==null){ - System.out.println("\nParser creation Failed"); - } xOutStream.closeOutput(); InputSource aInput = new InputSource(); if (sFileName==null){ sFileName=""; - } + } aInput.sSystemId = sFileName; aInput.aInputStream =xInStream; - xParser.setDocumentHandler ( xDocHandler ); + xParser.setDocumentHandler ( xDocHandler ); xParser.parseStream ( aInput ); xOutStream.closeOutput(); |