diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-03-23 12:59:23 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-03-23 15:51:51 +0100 |
commit | bbf3083e0d9645a8862dec1957f34a26f123fa6f (patch) | |
tree | 4cb02f5b042790fdd8ac04c8f95edbc0ec424248 /sw/inc/redline.hxx | |
parent | 7b08ccceffac5b5df904f84ca0b5aa646d6bd00e (diff) |
sw: replace boost::noncopyable with C++11 delete
Change-Id: I672b187c92ccb71a6c4b9bc5e1169970fb61aa7d
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r-- | sw/inc/redline.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 24e860d4c744..2649010afa3d 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -27,7 +27,6 @@ #include <IDocumentRedlineAccess.hxx> -#include <boost/noncopyable.hpp> #include <svl/smplhint.hxx> #include <vector> @@ -293,9 +292,13 @@ public: }; /// Base object for 'Redlines' that are not of 'Ranged' type (like table row insert\delete) -class SW_DLLPUBLIC SwExtraRedline : private boost::noncopyable +class SW_DLLPUBLIC SwExtraRedline { +private: + SwExtraRedline(SwExtraRedline const&) = delete; + SwExtraRedline& operator=(SwExtraRedline const&) = delete; public: + SwExtraRedline() = default; virtual ~SwExtraRedline(); }; |