summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2023-04-11 21:20:41 +0200
committerBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2023-04-20 07:33:22 +0200
commitb12ff94a771db17843f642a82820b2864bec4744 (patch)
tree0e168ce287301b499ab2fb9d7e5db8022ec13af1 /sal
parent3ec73488e447a693a14a773a7fb96938036c0324 (diff)
introduce sw::FrameFormats<>
- a drop-in replacement for SwFrameFormats - ... but strongly typed sw::FrameFormats<SwTableFormat*> returns SwTableFormats - replace in SwDoc for GetTableFormats - also: use tags to name indices, lose the references to them as members - add an explicit Rename() member to allow both SwFrameFormats and sw::FrameFormat<> to be updated if a format is rename. This should be removed once all SwFrameFormats have been moved to sw::FrameFormats<>. - Ultimately it seems like a few linear iterations of the table formats can be replaced with an index-based accesss by name (in a follow-up). Change-Id: I1c49d64621104c964c95c6da0c84e01ee7f97028 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150243 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sal')
0 files changed, 0 insertions, 0 deletions