Replace deprecated std::auto_ptr with boost::scoped_ptr

Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
This commit is contained in:
Takeshi Abe
2014-02-22 21:51:27 +09:00
parent d41c58164f
commit 3b06e5e646
27 changed files with 75 additions and 94 deletions

View File

@@ -41,6 +41,7 @@
#include <iterator>
#include <boost/scoped_ptr.hpp>
using namespace ::comphelper;
using namespace ::connectivity;
@@ -339,7 +340,7 @@ void OSQLParseTreeIterator::impl_getQueryParameterColumns( const OSQLTable& _rQu
break;
OUString sError;
::std::auto_ptr< OSQLParseNode > pSubQueryNode( const_cast< OSQLParser& >( m_rParser ).parseTree( sError, sSubQueryCommand, sal_False ) );
boost::scoped_ptr< OSQLParseNode > pSubQueryNode( const_cast< OSQLParser& >( m_rParser ).parseTree( sError, sSubQueryCommand, sal_False ) );
if ( !pSubQueryNode.get() )
break;