diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-01-18 05:54:58 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-01-18 08:08:52 +0900 |
commit | 5e6d1e3332ea4cd31d2c5e739dc27bb37b34b4dc (patch) | |
tree | 256c9d1d3d644d66e3e19beffe5418ea9c445fe2 /sw/source/ui/docvw | |
parent | 8e826c7ff7c597e9f585377b2117f4dc24239dcc (diff) |
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: Ib05c6d509a71e01b50b2e23588da607f29036711
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r-- | sw/source/ui/docvw/SidebarTxtControlAcc.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/SidebarTxtControlAcc.cxx b/sw/source/ui/docvw/SidebarTxtControlAcc.cxx index 7fc6e3b0dd74..f7a74cdc5933 100644 --- a/sw/source/ui/docvw/SidebarTxtControlAcc.cxx +++ b/sw/source/ui/docvw/SidebarTxtControlAcc.cxx @@ -30,6 +30,7 @@ #include <svx/AccessibleTextHelper.hxx> #include <editeng/outliner.hxx> +#include <boost/scoped_ptr.hpp> namespace sw { namespace sidebarwindows { @@ -114,7 +115,7 @@ IMPL_LINK(SidebarTextEditSource, NotifyHdl, EENotify*, pNotify) { if ( pNotify ) { - ::std::auto_ptr< SfxHint > aHint( SvxEditSourceHelper::EENotification2Hint( pNotify ) ); + boost::scoped_ptr< SfxHint > aHint( SvxEditSourceHelper::EENotification2Hint( pNotify ) ); if( aHint.get() ) { |