summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/dataaccess/intercept.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/dataaccess/intercept.cxx')
-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() )