summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/dataaccess
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-02-22 21:51:27 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-02-22 21:51:27 +0900
commit3b06e5e646878c751c02f395dce9002822895f07 (patch)
treed6c010835546334c376b3c42af66cc2b62994a68 /dbaccess/source/core/dataaccess
parentd41c58164f8e743b9bf7a8983174f71771872472 (diff)
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
Diffstat (limited to 'dbaccess/source/core/dataaccess')
-rw-r--r--dbaccess/source/core/dataaccess/intercept.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/core/dataaccess/intercept.cxx b/dbaccess/source/core/dataaccess/intercept.cxx
index ac6faff1a11b..fb9eb92f8a60 100644
--- a/dbaccess/source/core/dataaccess/intercept.cxx
+++ b/dbaccess/source/core/dataaccess/intercept.cxx
@@ -30,6 +30,7 @@
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
+#include <boost/scoped_ptr.hpp>
namespace dbaccess
{
@@ -182,7 +183,7 @@ void SAL_CALL OInterceptor::dispatch( const URL& _URL,const Sequence<PropertyVal
IMPL_LINK( OInterceptor, OnDispatch, void*, _pDispatcher )
{
- ::std::auto_ptr<DispatchHelper> pHelper( reinterpret_cast< DispatchHelper* >( _pDispatcher ) );
+ boost::scoped_ptr<DispatchHelper> pHelper( reinterpret_cast< DispatchHelper* >( _pDispatcher ) );
try
{
if ( m_pContentHolder && m_pContentHolder->prepareClose() && m_xSlaveDispatchProvider.is() )