From 3b06e5e646878c751c02f395dce9002822895f07 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 22 Feb 2014 21:51:27 +0900 Subject: Replace deprecated std::auto_ptr with boost::scoped_ptr Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7 --- cui/source/options/treeopt.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cui') 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 #endif +#include + 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 -- cgit