tdf#1681349 Resource leak
Change-Id: I321a95086278494c2d524488257c7c390a77a6d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199454 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user