From d5e3aa2372c080b356c0edf6bc9d4e304531cf21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 16 Feb 2026 08:46:43 +0000 Subject: [PATCH] tdf#1681349 Resource leak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I321a95086278494c2d524488257c7c390a77a6d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199454 Reviewed-by: Caolán McNamara Tested-by: Jenkins --- svx/source/dialog/TableStylesDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svx/source/dialog/TableStylesDlg.cxx b/svx/source/dialog/TableStylesDlg.cxx index fe424a9f29b2..7154cae6db76 100644 --- a/svx/source/dialog/TableStylesDlg.cxx +++ b/svx/source/dialog/TableStylesDlg.cxx @@ -658,7 +658,7 @@ IMPL_LINK_NOARG(SvxTableStylesDlg, BorderLayoutSelHdl, ValueSet*, void) Color aCol = m_xBorderColor->GetSelectEntryColor(); if (aCol.IsTransparent()) aCol = COL_BLACK; - aBorder = *new editeng::SvxBorderLine(&aCol, THIN); + aBorder = editeng::SvxBorderLine(&aCol, THIN); } aBox.SetLine(nullptr, SvxBoxItemLine::TOP);