// write the object
try {
XObjectOutputStream oStream = (XObjectOutputStream)
tEnv.getObjRelation("StreamWriter");
oStream.writeObject((XPersistObject)objWrite);
} catch(com.sun.star.io.IOException e) {
log.println("Couldn't write object to stream");
e.printStackTrace(log);
tRes.tested("readObject()", Status.skipped(false));
return;