Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user