From 5d133eb62187ae910772ff5dfeb8f2c3276e8481 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 31 Mar 2015 20:57:16 +0100 Subject: first half of non-scriptable, Instance constructor conversion. Change-Id: If73bb41bfa805e22609748f25971724b4778edb3 --- basic/source/runtime/inputbox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/runtime') diff --git a/basic/source/runtime/inputbox.cxx b/basic/source/runtime/inputbox.cxx index eef9ae6f04e6..21f677e5cab8 100644 --- a/basic/source/runtime/inputbox.cxx +++ b/basic/source/runtime/inputbox.cxx @@ -183,8 +183,8 @@ RTLFUNC(InputBox) nX = rPar.Get(4)->GetLong(); nY = rPar.Get(5)->GetLong(); } - VclPtr pDlg(new SvRTLInputBox(Application::GetDefDialogParent(), - rPrompt,aTitle,aDefault,nX,nY)); + VclPtrInstance pDlg(Application::GetDefDialogParent(), + rPrompt,aTitle,aDefault,nX,nY); pDlg->Execute(); rPar.Get(0)->PutString( pDlg->GetText() ); } -- cgit