Kaydet (Commit) 524c9952 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326447 Dereference null return value

Change-Id: I76f81e86cdeb33ec99f4aade314bbb719a0b1ef4
üst 4d95bd62
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment