https://bugs.documentfoundation.org/show_bug.cgi?id=128557

--- Comment #5 from Xisco FaulĂ­ <[email protected]> ---
(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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to