diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2023-07-03 18:31:26 +0100 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2023-12-12 10:57:20 +0100 |
commit | 80785bb26a1f96d5f5bced7940473d22af00cb60 (patch) | |
tree | a0685da09bb7a35d0c46911012d3575811df12e7 /include | |
parent | 755ce3ae9f6c672cc3ac1596fce182cd2c6993db (diff) |
tdf#147021 Use std::span to avoid SAL_N_ELEMENTS in CustomShape
The final set of these, nailing the 'handles'.
Again, most of the changes are mechanical
Change-Id: Ic65cec21db2366bcfa6ac40bcf9041b081c2ed71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153889
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/EnhancedCustomShapeGeometry.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svx/EnhancedCustomShapeGeometry.hxx b/include/svx/EnhancedCustomShapeGeometry.hxx index b95501c288c3..626cede2a88d 100644 --- a/include/svx/EnhancedCustomShapeGeometry.hxx +++ b/include/svx/EnhancedCustomShapeGeometry.hxx @@ -81,8 +81,7 @@ struct mso_CustomShape sal_Int32 nXRef; sal_Int32 nYRef; std::span<const SvxMSDffVertPair> pGluePoints; - SvxMSDffHandle* pHandles; - sal_uInt32 nHandles; + std::span<const SvxMSDffHandle> pHandles; }; #define MSO_I | sal_Int32(0x80000000) |