coverity#1326447 Dereference null return value
Change-Id: I76f81e86cdeb33ec99f4aade314bbb719a0b1ef4
This commit is contained in:
parent
4d95bd6261
commit
524c99524f
@ -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);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user