pivot-table: Make pivot_area_get_default_style() return a static copy.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 26 Dec 2019 00:43:45 +0000 (00:43 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 29 Dec 2019 05:28:10 +0000 (05:28 +0000)
commitb1fc57ddc57637e5c8bb87b478cbe585b6b4cf84
treea7cc0d2e1c650f45b3f6dbac7a794dc177b7bdf6
parent086c00aa4c7e11ef10cdb20a3afc2ba9caa464ec
pivot-table: Make pivot_area_get_default_style() return a static copy.

The existing callers all want to make their own copy, but an upcoming
new caller wants an existing one, so refactor the interface a bit.
src/output/pivot-table.c
src/output/pivot-table.h