<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - List Styles can't be deleted in Custom Styles view"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128557#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - List Styles can't be deleted in Custom Styles view"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128557">bug 128557</a>
from <span class="vcard"><a class="email" href="mailto:xiscofauli@libreoffice.org" title="Xisco FaulĂ <xiscofauli@libreoffice.org>"> <span class="fn">Xisco FaulĂ</span></a>
</span></b>
<pre>(In reply to Jim Raykowski from <a href="show_bug.cgi?id=128557#c4">comment #4</a>)
<span class="quote">> 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?</span >
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...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>