public void commit ( Object root ) { try { XChangesBatch xUpdateControl = ( XChangesBatch ) UnoRuntime . queryInterface ( XChangesBatch . class , root ) ; xUpdateControl . commitChanges ( ) ; } catch ( WrappedTargetException e ) { e . printStackTrace ( ) ; } }
Commit the XChangeBatch control