Macro in libreoffice shows error after reopening libreoffice writer after system shutdown abruptly

I have Libreoffice 4.2 version installed in ubuntu 12.04 .My computer system shuts down abruptly.
when i again open libre office writer after opening my system .The issue is the macros or shortcut keys that i have made earlier in libreoffice writer now they shows error while pressing that key combination in.Macros doesn’t work showing error??

Please suggest me the solution on this issue…

Why are you sure that the macros or short cut keys causing the shut down? Please provide more details.

As a first remedy I would reset my user profile. For details please refer to: https://wiki.documentfoundation.org/UserProfile