From 978c6e7a8fae309d4b3f3f1e422ca9d91a427469 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 28 Oct 2016 11:13:37 +0200 Subject: update vclwidgets plugin to check local variables Change-Id: I91f7fc6b8419c0ed82194726eeb4c4657e998f22 Reviewed-on: https://gerrit.libreoffice.org/30428 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- extensions/source/propctrlr/commoncontrol.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') diff --git a/extensions/source/propctrlr/commoncontrol.hxx b/extensions/source/propctrlr/commoncontrol.hxx index da0fe76d8307..05771dd061f3 100644 --- a/extensions/source/propctrlr/commoncontrol.hxx +++ b/extensions/source/propctrlr/commoncontrol.hxx @@ -161,7 +161,7 @@ namespace pcr inline CommonBehaviourControl< TControlInterface, TControlWindow >::CommonBehaviourControl ( sal_Int16 _nControlType, vcl::Window* _pParentWindow, WinBits _nWindowStyle, bool _bDoSetHandlers) :ComponentBaseClass( m_aMutex ) ,CommonBehaviourControlHelper( _nControlType, *this ) - ,m_pControlWindow( new TControlWindow( _pParentWindow, _nWindowStyle ) ) + ,m_pControlWindow( VclPtr::Create( _pParentWindow, _nWindowStyle ) ) { if ( _bDoSetHandlers ) { -- cgit