<html>
<head>
<base href="https://bugs.documentfoundation.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Easy Hack: Clean up excessive const_cast'ing"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=90341">90341</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Easy Hack: Clean up excessive const_cast'ing
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sbergman@redhat.com
</td>
</tr>
<tr>
<th>CC</th>
<td>libreoffice@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Find C++ source files that need a suspiciously high amount of const_cast, then
see if some of them are due to poor design that can be improved (by e.g. making
relevant member functions const, making relevant member variables mutable,
making relevant variables pointer to non-const).
(You can use something like
<span class="quote">> git grep --word-regexp --count const_cast | sort --numeric-sort --key=2 --field-separator=:</span >
to get the high-scorers of const_cast usage.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>