[Libreoffice-bugs] [Bug 128557] List Styles can't be deleted in Custom Styles view
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 4 09:24:27 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=128557
--- Comment #5 from Xisco FaulĂ <xiscofauli at libreoffice.org> ---
(In reply to Jim Raykowski from comment #4)
> Hi Xisco,
>
> A quick glance at the code used to delete these types of styles shows:
>
> // We can only delete if the Rule is unused!
> bool SwDoc::DelNumRule( const OUString& rName, bool bBroadcast )
>
> I checked to see if the style can be deleted if it is not in use and indeed
> it can.
>
> Perhaps the message box that is displayed saying the style is in use and
> text will revert to parent style needs to be different for custom styles
> like this?
Yes, it can't be deleted when it's in used, but the same warning message is
prompted with Paragraph and Character styles and they can be deleted if the
user chooses 'Yes', so the behaviour isn't consistent among the different
styles...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191104/6c19ffe3/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list