diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index 3c2a9dff652c..342964f238a3 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -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 ) |