diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-22 21:51:27 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-02-22 21:51:27 +0900 |
commit | 3b06e5e646878c751c02f395dce9002822895f07 (patch) | |
tree | d6c010835546334c376b3c42af66cc2b62994a68 /cui | |
parent | d41c58164f8e743b9bf7a8983174f71771872472 (diff) |
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/treeopt.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index aa4d775277f4..d0f10f9cbad7 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -104,6 +104,8 @@ #include <sys/stat.h> #endif +#include <boost/scoped_ptr.hpp> + using namespace ::com::sun::star; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; @@ -2251,7 +2253,7 @@ void OfaTreeOptionsDialog::InsertNodes( const VectorOfNodes& rNodeList ) short OfaTreeOptionsDialog::Execute() { - ::std::auto_ptr< SvxDicListChgClamp > pClamp; + boost::scoped_ptr< SvxDicListChgClamp > pClamp; if ( !bIsFromExtensionManager ) { // collect all DictionaryList Events while the dialog is executed |