summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-02-21 14:33:44 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-02-21 14:35:52 +0900
commit5f17e5eaad665337c7d8b7f05a61adc21d80a073 (patch)
treefa653f05c3724046dc9bd373f1e66fd462f282b3 /fpicker
parent24dd10c727ab2d7a38368292498520e11d98e3cb (diff)
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/asyncfilepicker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/asyncfilepicker.cxx b/fpicker/source/office/asyncfilepicker.cxx
index d296ad915a0b..012bad46a8b3 100644
--- a/fpicker/source/office/asyncfilepicker.cxx
+++ b/fpicker/source/office/asyncfilepicker.cxx
@@ -23,7 +23,7 @@
#include "svtools/fileview.hxx"
#include <tools/debug.hxx>
-#include <memory>
+#include <boost/scoped_ptr.hpp>
//........................................................................
namespace svt
@@ -103,7 +103,7 @@ namespace svt
if ( nMaxTimeout <= nMinTimeout )
nMaxTimeout = nMinTimeout + 30000;
- ::std::auto_ptr< FileViewAsyncAction > pActionDescriptor;
+ boost::scoped_ptr< FileViewAsyncAction > pActionDescriptor;
if ( nMinTimeout )
{
pActionDescriptor.reset( new FileViewAsyncAction );