try {
xReg = RegistryTools.createRegistryService
((XMultiServiceFactory)tParam.getMSF()) ;
xReg.open(tmpDir + "XImpLoader_tmp.rdb", false, true) ;
key = xReg.getRootKey() ;
} catch (com.sun.star.uno.Exception e) {
log.println("Can not create registry for writing") ;
e.printStackTrace(log) ;