Cleanup: auto_ptr uses as a plain scope guard.
This commit is contained in:
parent
c91ff959b0
commit
4fa7f074b3
1 changed files with 1 additions and 4 deletions
|
@ -230,10 +230,7 @@ sal_Bool FuOutlineText::KeyInput(const KeyEvent& rKEvt)
|
|||
{
|
||||
mpWindow->GrabFocus();
|
||||
|
||||
SAL_WNODEPRECATED_DECLARATIONS_PUSH
|
||||
std::auto_ptr< OutlineViewModelChangeGuard > aGuard;
|
||||
SAL_WNODEPRECATED_DECLARATIONS_POP
|
||||
|
||||
boost::scoped_ptr< OutlineViewModelChangeGuard > aGuard;
|
||||
if( (nKeyGroup != KEYGROUP_CURSOR) && (nKeyGroup != KEYGROUP_FKEYS) )
|
||||
aGuard.reset( new OutlineViewModelChangeGuard( *pOutlineView ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue