url1 = aParseURL[0];
url2 = aParseURL[0];
} catch (com.sun.star.uno.Exception e) {
log.println("Couldn't parse URL");
}
DispatchDescriptor descs[] = new DispatchDescriptor[] {
new DispatchDescriptor(url1, name1, FrameSearchFlag.ALL),
new DispatchDescriptor(url2, name2, FrameSearchFlag.ALL)
};
XDispatch[] xDispatches = oObj.queryDispatches(descs);
if (xDispatches == null) {
log.println("queryDispatches() returned null");