fdo#84605 : fixed style editing from the style drop down menu

Change-Id: I52c0df2a66615f0b3f1de6c0ee7432107f703923
Reviewed-on: https://gerrit.libreoffice.org/11800
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>