diff options
| author | Stephan Bergmann <sbergman@redhat.com> | 2018-06-29 10:17:42 +0200 |
|---|---|---|
| committer | Stephan Bergmann <sbergman@redhat.com> | 2018-06-29 13:31:49 +0200 |
| commit | 41e2f767113e7fc5ea942f80f92990b3f276f26b (patch) | |
| tree | 1bb42beb0d950c708c2222346dc104829ab636fd /icon-themes/colibre_svg/cmd/32/entirecell.svg | |
| parent | a7bf6488ebb544e1efaed0a1e53073df9cc2064d (diff) | |
Clean up SvxChartColorTable
* nNextElementNumber is unused since d57dfa29c2ba47293eb12a853cdccf4196565ef7
"Improvement of adding and removing color charts".
* There appears to be no compelling reason to store sDefaultNamePre-/Postfix as
members (but which are not even copied by the copy ctor). Just compute them
whenever they are needed in getDefaultName (which is understood to not be a
hot code path).
* With those changes, the user-provided default and copy ctor can be left
implicitly-declared, which avoids -Wdeprecated-copy (because the copy
assignment op was implicitly-declared while the copy ctor was not) with GCC
trunk towards GCC 9.
Change-Id: I2bfa5f19c967e24407bf5b79adaf171200822f45
Reviewed-on: https://gerrit.libreoffice.org/56666
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'icon-themes/colibre_svg/cmd/32/entirecell.svg')
0 files changed, 0 insertions, 0 deletions
