Kaydet (Commit) 630fe2d0 authored tarafından Michael Meeks's avatar Michael Meeks

tdf#91127 - SwDbTreeList 'make' function fix.

Change-Id: Iaefba9f6f546c3ac22749aa0ff209cbc49f8a552
üst cfcfc5e9
......@@ -186,7 +186,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSwDBTreeList(vcl::Wind
OString sBorder = VclBuilder::extractCustomProperty(rMap);
if (!sBorder.isEmpty())
nStyle |= WB_BORDER;
return VclPtr<SwDBTreeList>::Create(pParent, nStyle);
return new SwDBTreeList(pParent, nStyle);
}
Size SwDBTreeList::GetOptimalSize() const
......@@ -202,6 +202,7 @@ SwDBTreeList::~SwDBTreeList()
void SwDBTreeList::dispose()
{
delete pImpl;
pImpl = NULL;
SvTreeListBox::dispose();
}
......
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