https://bugs.documentfoundation.org/show_bug.cgi?id=90341
Bug ID: 90341
Summary: Easy Hack: Clean up excessive const_cast'ing
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
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
> git grep --word-regexp --count const_cast | sort --numeric-sort --key=2
> --field-separator=:
to get the high-scorers of const_cast usage.)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice