diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-25 17:35:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-25 17:35:05 +0200 |
commit | a924606810a5d6e9a8e3d23e491d0bea5a5d2477 (patch) | |
tree | b52bc75ea90af5a66aadb6b75faf50f94ab70727 /svx | |
parent | 09b13e1e4c6667b307fdd9608a02d2a792efd940 (diff) |
editeng: std::auto_ptr -> std::unique_ptr
Change-Id: I25e3599a37d720cbcf70ea13ab30234e54637d53
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoshtxt.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index b5f957f82655..e9c7d65534dc 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -17,6 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <memory> + #include <com/sun/star/uno/XInterface.hpp> #include <vcl/svapp.hxx> @@ -47,7 +51,6 @@ #include <svx/svdotable.hxx> #include "../table/cell.hxx" #include <svx/sdrpaintwindow.hxx> -#include <boost/scoped_ptr.hpp> using namespace ::osl; using namespace ::rtl; @@ -1020,7 +1023,7 @@ IMPL_LINK(SvxTextEditSourceImpl, NotifyHdl, EENotify*, aNotify) { if( aNotify && !mbNotificationsDisabled ) { - boost::scoped_ptr< SfxHint > aHint( SvxEditSourceHelper::EENotification2Hint( aNotify) ); + std::unique_ptr< SfxHint > aHint( SvxEditSourceHelper::EENotification2Hint( aNotify) ); if( aHint.get() ) Broadcast( *aHint.get() ); |