summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/genericcontroller.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/browser/genericcontroller.cxx
parentd41c58164f8e743b9bf7a8983174f71771872472 (diff)
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
Diffstat (limited to 'dbaccess/source/ui/browser/genericcontroller.cxx')
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index f86f7fea660f..82e1b22ee648 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -55,6 +55,7 @@
#include <rtl/ustring.hxx>
#include <algorithm>
#include <o3tl/compat_functional.hxx>
+#include <boost/scoped_ptr.hpp>
#include <boost/unordered_map.hpp>
#include <cppuhelper/implbase1.hxx>
#include <limits>
@@ -317,7 +318,7 @@ void SAL_CALL OGenericUnoController::initialize( const Sequence< Any >& aArgumen
catch(Exception&)
{
// no one clears my view if I won't
- ::std::auto_ptr<Window> aTemp(m_pView);
+ boost::scoped_ptr<Window> aTemp(m_pView);
m_pView = NULL;
throw;
}