summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-04-18 18:43:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-18 20:12:18 +0200
commit9cff36d37df95bb9d2b552259c718459b2f81682 (patch)
tree154b3becac129cce5bcbf230ea18a94d8ddb5fab /sax
parent957c54e504846f16dfbb40bc0b6811b5c1817eb4 (diff)
reduce allocation cost in SvxShape::SetProperty
use std::optional so we don't need to heap allocate all the time. note that I couldn't use the normal SfxItemSet constructor, std::optional::emplace on macOS doesn't seem to play nice with the template magic there Change-Id: Ic5de23e9a20dceae56f894cf0706b89ced77ff58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114246 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax')
0 files changed, 0 insertions, 0 deletions