svx/source/sdr/properties/textproperties.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit ff307906ce794173e4f26dcad84518d010668ea3 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Mon May 1 21:06:32 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue May 2 07:12:46 2023 +0200 elide temporary copy Change-Id: I3818767811ee92b39f475533144d0163a7e6931e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151236 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/svx/source/sdr/properties/textproperties.cxx b/svx/source/sdr/properties/textproperties.cxx index d8cdf80dfc29..522225059d3a 100644 --- a/svx/source/sdr/properties/textproperties.cxx +++ b/svx/source/sdr/properties/textproperties.cxx @@ -135,8 +135,7 @@ namespace sdr::properties // force ItemSet GetObjectItemSet(); - SfxItemSet aNewSet(pOutliner->GetParaAttribs(0)); - mxItemSet->Put(aNewSet); + mxItemSet->Put(pOutliner->GetParaAttribs(0)); } std::optional<OutlinerParaObject> pTemp = pOutliner->CreateParaObject(0, nParaCount);