LibreOffice user settings reset to default

I did something stupid with my “sticky fingers” in LibreOffice settings, and now, when I open any of documents in LibreOffice, I got this message:

com.sun.star.uno.RuntimeExceptionError during invoking function createTable in module file:///usr/lib/libreoffice/share/Scripts/python/pythonSamples/TableSample.py (<type ‘exceptions.TypeError’>: createTable() takes no arguments (1 given)
/usr/lib/libreoffice/program/pythonscript.py:861 in function invoke() [ret = self.func( *args )]
)

Is there any possibility to fix that, or instead: how can i reset my LibreOffice user settings to default?

In other users of my computer everything is all right.

Thank you for answering my question.

Vladimir

The user config is in

~/.config/libreoffice/

Following on from caf4926’s post…

With libreoffice closed, just try renaming “registrymodifications.xcu” (located ~/.config/libreoffice/[version]/user/), when libreoffice is restarted a default config will be created.

Failing that I’d rename the entire ~/.config/libreoffice directory, you may want some of the other stuff in there, and re-install libreoffice.

Right what I needed. Thanx a lot!