summaryrefslogtreecommitdiff
path: root/dbaccess/source/filter/xml/xmlExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/filter/xml/xmlExport.cxx')
-rw-r--r--dbaccess/source/filter/xml/xmlExport.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index 62b2900724e9..1e7ed78e7d99 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -53,7 +53,7 @@
#include <connectivity/dbtools.hxx>
#include <boost/optional.hpp>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
namespace dbaxml
{
@@ -833,7 +833,7 @@ void ODBExport::exportCollection(const Reference< XNameAccess >& _xCollection
{
if ( _xCollection.is() )
{
- boost::scoped_ptr<SvXMLElementExport> pComponents;
+ std::unique_ptr<SvXMLElementExport> pComponents;
if ( _bExportContext )
pComponents.reset( new SvXMLElementExport(*this,XML_NAMESPACE_DB, _eComponents, true, true));
Sequence< OUString> aSeq = _xCollection->getElementNames();
@@ -1113,7 +1113,7 @@ void ODBExport::exportQueries(bool _bExportContext)
Reference< XNameAccess > xCollection = xSup->getQueryDefinitions();
if ( xCollection.is() && xCollection->hasElements() )
{
- boost::scoped_ptr< ::comphelper::mem_fun1_t<ODBExport,XPropertySet* > > pMemFunc;
+ std::unique_ptr< ::comphelper::mem_fun1_t<ODBExport,XPropertySet* > > pMemFunc;
if ( _bExportContext )
pMemFunc.reset( new ::comphelper::mem_fun1_t<ODBExport,XPropertySet* >(&ODBExport::exportQuery) );
else
@@ -1133,7 +1133,7 @@ void ODBExport::exportTables(bool _bExportContext)
Reference< XNameAccess > xCollection = xSup->getTables();
if ( xCollection.is() && xCollection->hasElements() )
{
- boost::scoped_ptr< ::comphelper::mem_fun1_t<ODBExport,XPropertySet* > > pMemFunc;
+ std::unique_ptr< ::comphelper::mem_fun1_t<ODBExport,XPropertySet* > > pMemFunc;
if ( _bExportContext )
pMemFunc.reset( new ::comphelper::mem_fun1_t<ODBExport,XPropertySet* >(&ODBExport::exportTable) );
else