Hi, and welcome to the forum.
Thamior wrote:I was wondering if there is a way to recover my documents if this happens.
Did you enable option Load/Save →
Always create backup copy? If so, there is a copy of your document as it was the last time you opened it in the directory named in option OpenOffice → Paths → Backups. Options are set with OpenOffice → Preferences on a Mac, Tools → Options on other platforms. Using your operating system, copy the backup document to a safe place. Make a copy of
that, then change the file extension .bak to the appropriate one (.odt, .ods, etc.). Open the renamed file.
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.