AFAIK, you cannot delete a style in use. I admit I have not tested, but
if your list contains a style in use it will not be deleted. At some
point the user must be warned on his mistake.
Then maybe you should test it... because you actually can do it. As said
before, the parent style will be applied to the paragraphs that had the
deleted styles before.
Maybe we should show the Message box only if the styles are in use?
Samuel
_______________________________________________
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise