summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/querycontainerwindow.cxx
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/ui/querydesign/querycontainerwindow.cxx
parentd41c58164f8e743b9bf7a8983174f71771872472 (diff)
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
Diffstat (limited to 'dbaccess/source/ui/querydesign/querycontainerwindow.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/querycontainerwindow.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/querycontainerwindow.cxx b/dbaccess/source/ui/querydesign/querycontainerwindow.cxx
index 4bc0b92ea678..aeb31373b0e7 100644
--- a/dbaccess/source/ui/querydesign/querycontainerwindow.cxx
+++ b/dbaccess/source/ui/querydesign/querycontainerwindow.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/Frame.hpp>
#include <com/sun/star/util/XCloseable.hpp>
+#include <boost/scoped_ptr.hpp>
namespace dbaui
{
@@ -56,7 +57,7 @@ namespace dbaui
OQueryContainerWindow::~OQueryContainerWindow()
{
{
- ::std::auto_ptr<OQueryViewSwitch> aTemp(m_pViewSwitch);
+ boost::scoped_ptr<OQueryViewSwitch> aTemp(m_pViewSwitch);
m_pViewSwitch = NULL;
}
if ( m_pBeamer )
@@ -70,7 +71,7 @@ namespace dbaui
xCloseable->close(sal_False); // false - holds the owner ship of this frame
}
- ::std::auto_ptr<Window> aTemp(m_pSplitter);
+ boost::scoped_ptr<Window> aTemp(m_pSplitter);
m_pSplitter = NULL;
}