summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-14 13:19:03 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-14 13:19:16 +0100
commitdc2ec59cb3ca6825510ad9c5953330eba3dc8cb2 (patch)
tree5417af539c0bf048c3d971e3f78c996a4a0f398d /vcl/source
parent6f9c00dfe02cdc62ad1b9798a0d007e1303a96e6 (diff)
Unwind lifecycle mistake in VclBuilder.
Change-Id: I46e1b2fac3e49e1ef1a0aa7de7fc8e8cb90ddcf8
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 5574b039088d..dc06f34a003f 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -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 " <<