diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-26 17:20:31 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-26 17:21:20 +0900 |
commit | d5c59404bec65c8a9d9e05c1fcc24e068d170924 (patch) | |
tree | f19f1aca9c529e78509b2ad777ae52dcabc52c71 /vcl | |
parent | d60301d03b098e1d45b8de6b169e9fb54600c3f1 (diff) |
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/edit/vclmedit.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index ea5237903c38..e3448fa02217 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <memory> - #include <tools/rc.h> #include <vcl/builder.hxx> #include <vcl/decoview.hxx> @@ -34,6 +32,7 @@ #include <svids.hrc> #include <vcl/scrbar.hxx> #include <vcl/settings.hxx> +#include <boost/scoped_ptr.hpp> class TextWindow : public Window @@ -981,7 +980,7 @@ VclMultiLineEdit::VclMultiLineEdit( Window* pParent, const ResId& rResId ) VclMultiLineEdit::~VclMultiLineEdit() { { - ::std::auto_ptr< ImpVclMEdit > pDelete( pImpVclMEdit ); + boost::scoped_ptr< ImpVclMEdit > pDelete( pImpVclMEdit ); pImpVclMEdit = NULL; } delete pUpdateDataTimer; |