diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-08-07 09:21:39 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-08-07 09:23:00 +0200 |
commit | 33aead22a90ec94e625bbc1b9808096e6c370616 (patch) | |
tree | f76144a32bab91f35fa2ca2de3d84d4b86854e55 /sw/inc/undobj.hxx | |
parent | 09a9234c021ad98c5adeb493b5814e97b92ee912 (diff) |
sw: use std::unique_ptr in sw-global includes
Change-Id: I7b1a313e6c36fd162878cfc9f17ae73f91a72665
Diffstat (limited to 'sw/inc/undobj.hxx')
-rw-r--r-- | sw/inc/undobj.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx index 69703760d8a5..34cea59ecfc0 100644 --- a/sw/inc/undobj.hxx +++ b/sw/inc/undobj.hxx @@ -20,8 +20,8 @@ #define INCLUDED_SW_INC_UNDOBJ_HXX #include <vector> +#include <memory> -#include <boost/scoped_ptr.hpp> #include <boost/shared_ptr.hpp> #include <svl/undo.hxx> @@ -229,7 +229,7 @@ class SwUndoInserts : public SwUndo, public SwUndRng, private SwUndoSaveContent protected: sal_uLong nNdDiff; /// start of Content in UndoNodes for Redo - ::boost::scoped_ptr<SwNodeIndex> m_pUndoNodeIndex; + std::unique_ptr<SwNodeIndex> m_pUndoNodeIndex; sal_uInt16 nSetPos; // Start in the history list. SwUndoInserts( SwUndoId nUndoId, const SwPaM& ); |