Kaydet (Commit) 4fa7f074 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Cleanup: auto_ptr uses as a plain scope guard.

üst c91ff959
...@@ -230,10 +230,7 @@ sal_Bool FuOutlineText::KeyInput(const KeyEvent& rKEvt) ...@@ -230,10 +230,7 @@ sal_Bool FuOutlineText::KeyInput(const KeyEvent& rKEvt)
{ {
mpWindow->GrabFocus(); mpWindow->GrabFocus();
SAL_WNODEPRECATED_DECLARATIONS_PUSH boost::scoped_ptr< OutlineViewModelChangeGuard > aGuard;
std::auto_ptr< OutlineViewModelChangeGuard > aGuard;
SAL_WNODEPRECATED_DECLARATIONS_POP
if( (nKeyGroup != KEYGROUP_CURSOR) && (nKeyGroup != KEYGROUP_FKEYS) ) if( (nKeyGroup != KEYGROUP_CURSOR) && (nKeyGroup != KEYGROUP_FKEYS) )
aGuard.reset( new OutlineViewModelChangeGuard( *pOutlineView ) ); aGuard.reset( new OutlineViewModelChangeGuard( *pOutlineView ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment