diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-09-24 10:06:20 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-09-24 14:23:54 +0200 |
commit | 41d0f5540208f7b86c91804631a141380c397a57 (patch) | |
tree | 7829b22a3e476525658700e7fbefe2e08208b7b3 /xmloff/source/chart/SchXMLLegendContext.cxx | |
parent | bfb7c7be5781246febcffd5fdafd1d74d9dd7bce (diff) |
Use initializer list instead of iterating an array to construct the map
The map and set are made function-local statics instead of members, to
only create them once (as comment says).
This also fixes the problem with missing comma between "page number" and
"TableNormal", which presumably had prevented all entries starting from
"PageNumber" from working properly.
Change-Id: Iddfefb05b1ffd00d16f189ddb5a679adf7561aa6
Reviewed-on: https://gerrit.libreoffice.org/79430
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmloff/source/chart/SchXMLLegendContext.cxx')
0 files changed, 0 insertions, 0 deletions