<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Conditional paragraph style not saved"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137166">bug 137166</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>DUPLICATE
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jluth@mail.com, michael.stahl@cib.de
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Conditional paragraph style not saved"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137166#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Conditional paragraph style not saved"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137166">bug 137166</a>
from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
<pre>Conditional styles have been there since 2000 - initial import.
For some reason, text body really is supposed to be conditional.
bool IsConditionalByPoolId(sal_uInt16 nId)
{
// TODO: why is this style conditional?
// If it is changed to no longer be conditional, then a style "Text Body"
// will be imported without its conditions from ODF.
return RES_POOLCOLL_TEXT == nId;
}
Since this has been broken since 2015 with no complaints except people who get
confused, should we just get rid of this exception to the rule completely?
*** This bug has been marked as a duplicate of <a class="bz_bug_link
bz_status_NEW "
title="NEW - conditional style with no conditions is displayed as un-conditional style after reloading document"
href="show_bug.cgi?id=82802">bug 82802</a> ***</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>