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 /uui/source/iahndl-filter.cxx | |
parent | webdav: fix remaining build issues (diff) | |
download | core-d5c59404bec65c8a9d9e05c1fcc24e068d170924.tar.gz core-d5c59404bec65c8a9d9e05c1fcc24e068d170924.zip |
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
Diffstat (limited to 'uui/source/iahndl-filter.cxx')
-rw-r--r-- | uui/source/iahndl-filter.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx index d67717aa7f1a..8db625552969 100644 --- a/uui/source/iahndl-filter.cxx +++ b/uui/source/iahndl-filter.cxx @@ -39,6 +39,7 @@ #include "fltdlg.hxx" #include "iahndl.hxx" +#include <boost/scoped_ptr.hpp> using namespace com::sun::star; @@ -56,9 +57,9 @@ executeFilterDialog( { SolarMutexGuard aGuard; - std::auto_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); + boost::scoped_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); - std::auto_ptr< uui::FilterDialog > xDialog( + boost::scoped_ptr< uui::FilterDialog > xDialog( new uui::FilterDialog(pParent, xManager.get())); xDialog->SetURL(rURL); |