boost->std
Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
#include "com/sun/star/uri/UriReferenceFactory.hpp"
|
||||
#include "com/sun/star/uri/XVndSunStarScriptUrl.hpp"
|
||||
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
#include <memory>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
@@ -213,7 +213,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification(
|
||||
}
|
||||
|
||||
// attempt to protect the document against the script tampering with its Undo Context
|
||||
boost::scoped_ptr< ::framework::DocumentUndoGuard > pUndoGuard;
|
||||
std::unique_ptr< ::framework::DocumentUndoGuard > pUndoGuard;
|
||||
if ( bIsDocumentScript )
|
||||
pUndoGuard.reset( new ::framework::DocumentUndoGuard( m_xScriptInvocation ) );
|
||||
|
||||
@@ -273,7 +273,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification(
|
||||
|
||||
if ( pFact != NULL )
|
||||
{
|
||||
boost::scoped_ptr<VclAbstractDialog> pDlg(
|
||||
std::unique_ptr<VclAbstractDialog> pDlg(
|
||||
pFact->CreateScriptErrorDialog( NULL, aException ));
|
||||
|
||||
if ( pDlg )
|
||||
|
Reference in New Issue
Block a user