From 09cb92096919e5a7bf4cf5fe66689e312ebc7f9c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 28 Oct 2016 09:11:02 +0200 Subject: convert std::unique_ptr to VclPtr Change-Id: Ifdd2a0599efd701def02b4a4d2a1c489cb1b27fa --- scripting/source/protocolhandler/scripthandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripting') diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index 85573b51a5c3..cd82b1931f5f 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -273,7 +273,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification( if ( pFact != nullptr ) { - std::unique_ptr pDlg( + ScopedVclPtr pDlg( pFact->CreateScriptErrorDialog( aException )); if ( pDlg ) -- cgit