diff options
-rw-r--r-- | qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java b/qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java index cd41f19fec66..c8e15602070b 100644 --- a/qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java +++ b/qadevOOo/tests/java/mod/_toolkit/MutableTreeNode.java @@ -94,19 +94,14 @@ public class MutableTreeNode extends TestCase { return tEnv; } // finish method getTestEnvironment - private void fillNode( XMutableTreeNode xNode ){ + private void fillNode( XMutableTreeNode xNode ) throws com.sun.star.uno.Exception { if( xNode.getChildCount() == 0 ) { xNode.getDataValue(); String officeUserPath = utils.getOfficeUserPath(mxMSF); - Object fileacc = null; - try { - fileacc = mxMSF.createInstance("com.sun.star.comp.ucb.SimpleFileAccess"); - } catch (com.sun.star.uno.Exception ex) { - ex.printStackTrace(); - } + Object fileacc = mxMSF.createInstance("com.sun.star.comp.ucb.SimpleFileAccess"); UnoRuntime.queryInterface(XSimpleFileAccess.class,fileacc); |