Kaydet (Commit) 4a05ab1d authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: #i120028# SvxBorderLine leak

Change-Id: I652653ae8a99b8486e893c65b6c82b6ea6e4faec
üst 1bb8ae7a
......@@ -1560,7 +1560,10 @@ sal_Int32 SwWW8ImplReader::MatchSdrBoxIntoFlyBoxItem(const Color& rLineColor,
aLine.SetBorderLineStyle(nIdx);
for(sal_uInt16 nLine = 0; nLine < 4; ++nLine)
rBox.SetLine(new SvxBorderLine( aLine ), nLine);
{
//aLine is cloned by SetLine
rBox.SetLine(&aLine, nLine);
}
}
return nOutsideThick;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment