diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-02-15 16:50:59 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-02-15 16:53:01 +0100 |
commit | 4fa7f074b38a65a6e0b5e9ceb164f31ce8086042 (patch) | |
tree | 4b2a917ddaca0963b9babfd4a65c48445e03fac4 /sd | |
parent | c91ff959b0527852fde12a5f994b30121ff3c817 (diff) |
Cleanup: auto_ptr uses as a plain scope guard.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fuoltext.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/ui/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx index df1108fc1128..c48c2542044a 100644 --- a/sd/source/ui/func/fuoltext.cxx +++ b/sd/source/ui/func/fuoltext.cxx @@ -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 ) ); |