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

Unwind lifecycle mistake in VclBuilder.

Change-Id: I46e1b2fac3e49e1ef1a0aa7de7fc8e8cb90ddcf8
üst 6f9c00df
......@@ -1770,7 +1770,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
SAL_WARN_IF(!pWindow, "vcl.layout", "probably need to implement " << name.getStr() << " or add a make" << name.getStr() << " function");
if (pWindow)
{
VclPtr< vcl::Window > xWindow( pWindow, SAL_NO_ACQUIRE );
VclPtr< vcl::Window > xWindow( pWindow );
pWindow->SetHelpId(m_sHelpRoot + id);
SAL_INFO("vcl.layout", "for " << name.getStr() <<
", created " << pWindow << " child of " <<
......
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