summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-02-17 12:19:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-02-27 19:42:58 +0100
commit31e7845339b30a69f06a04619660398fe4267268 (patch)
tree049ffea6c16bfa05e798ca9dac81aa1a05a17aef /svl
parentc97a3592c78ce276a353f95ce68c70a8a39174a0 (diff)
use more SfxItemSet::CloneAsValue
to reduce heap allocations Change-Id: Ia755c3e7f9610a5441a447cc74ea38ebcef068bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130066 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/notify/isethint.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/notify/isethint.cxx b/svl/source/notify/isethint.cxx
index 2ac61804312b..c0012377eccb 100644
--- a/svl/source/notify/isethint.cxx
+++ b/svl/source/notify/isethint.cxx
@@ -24,7 +24,7 @@
* Copies the SfxItemSet passed as a parameter.
*/
SfxItemSetHint::SfxItemSetHint(const SfxItemSet& rItemSet)
- : _pItemSet(rItemSet.Clone())
+ : maItemSet(rItemSet.CloneAsValue())
{
}