diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-25 10:59:16 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-25 11:15:06 +0900 |
commit | 523fcec55d3a1a1282d94fdc9ecd9aecedcebf56 (patch) | |
tree | 05d46a9f0504a67d42894ab61ce9e50a7d252faa /sfx2/source/doc | |
parent | 295bc8703ff5d5133f18ae2b25dc3d88cdfffa93 (diff) |
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I72b0e8b07bd7309a23d5635b7e0b7dbdc9c2c721
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 255260c3c1b0..09d40c9be26e 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -131,6 +131,8 @@ using namespace ::com::sun::star::container; #include "appbaslib.hxx" #include <openflag.hxx> +#include <boost/scoped_ptr.hpp> + // class SfxHeaderAttributes_Impl ---------------------------------------- class SfxHeaderAttributes_Impl : public SvKeyValueIterator @@ -1561,7 +1563,7 @@ ErrCode SfxObjectShell::CallXScript( const Reference< XInterface >& _rxScriptCon if ( bCaughtException && bRaiseError ) { - ::std::auto_ptr< VclAbstractDialog > pScriptErrDlg; + boost::scoped_ptr< VclAbstractDialog > pScriptErrDlg; SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); if ( pFact ) pScriptErrDlg.reset( pFact->CreateScriptErrorDialog( NULL, aException ) ); |