1. Go to the Finder > Go >  Go To Folder > 
  2. Put in: ~/Library 
  3. Go to /Library/Saved Application State/ 
  4. Delete the org.libreoffice.script.savedState folder