summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/predicateinput.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx
index 06c743d65561..d315aa52530b 100644
--- a/connectivity/source/commontools/predicateinput.cxx
+++ b/connectivity/source/commontools/predicateinput.cxx
@@ -28,6 +28,7 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_connectivity.hxx"
+
#include <connectivity/predicateinput.hxx>
#include <comphelper/types.hxx>
#include <connectivity/dbtools.hxx>
@@ -38,6 +39,8 @@
#include <connectivity/PColumn.hxx>
#include <comphelper/numbers.hxx>
+#include <boost/shared_ptr.hpp>
+
//.........................................................................
namespace dbtools
{
@@ -394,7 +397,7 @@ namespace dbtools
::rtl::OUString sReturn;
if ( pParseNode )
{
- ::std::auto_ptr<OSQLParseNode> pTemp(pParseNode);
+ boost::shared_ptr<OSQLParseNode> xTakeOwnership(pParseNode);
OSQLParseNode* pOdbcSpec = pParseNode->getByRule( OSQLParseNode::odbc_fct_spec );
if ( pOdbcSpec )
{