summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz-ng/src/OT/Layout/GSUB/Sequence.hh
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-02-13 18:41:56 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-02-28 19:14:19 +0000
commitb528e44f5a9fc3194f4d2a14fee1e56558061997 (patch)
tree3f28ab3e6811c2475f43c8c39eec09783a83db5a /src/3rdparty/harfbuzz-ng/src/OT/Layout/GSUB/Sequence.hh
parent9b643bc6c9f1b97d8753848bcdc6d22f1272fabe (diff)
QWindowsXPStyle: use QVarLengthArray instead new for memory allocation
Avoid the creation of a temporary buffer by using QVarLengthArray instead. Normally GetRegionData() only returns one rect (~48bytes) so it will fit into the QVLA without a memory allocation Change-Id: I279693e17e2f9f2c1c75504c3e5c1de3d45084ec Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/OT/Layout/GSUB/Sequence.hh')
0 files changed, 0 insertions, 0 deletions