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/swtable.hxx | |
parent | 7b08ccceffac5b5df904f84ca0b5aa646d6bd00e (diff) |
sw: replace boost::noncopyable with C++11 delete
Change-Id: I672b187c92ccb71a6c4b9bc5e1169970fb61aa7d
Diffstat (limited to 'sw/inc/swtable.hxx')
-rw-r--r-- | sw/inc/swtable.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx index 4909ccbc751e..34a31aa99e49 100644 --- a/sw/inc/swtable.hxx +++ b/sw/inc/swtable.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_SW_INC_SWTABLE_HXX #define INCLUDED_SW_INC_SWTABLE_HXX + #include <tools/mempool.hxx> #include <tools/ref.hxx> #include <tblenum.hxx> @@ -27,7 +28,6 @@ #include <swtblfmt.hxx> #include <memory> -#include <boost/noncopyable.hpp> #include <vector> #include <algorithm> #include <o3tl/sorted_vector.hxx> @@ -496,12 +496,15 @@ public: }; class SwCellFrame; -class SW_DLLPUBLIC SwTableCellInfo : public ::boost::noncopyable +class SW_DLLPUBLIC SwTableCellInfo { struct Impl; ::std::unique_ptr<Impl> m_pImpl; - const SwCellFrame * getCellFrame() const ; + const SwCellFrame * getCellFrame() const; + + SwTableCellInfo(SwTableCellInfo const&) = delete; + SwTableCellInfo& operator=(SwTableCellInfo const&) = delete; public: SwTableCellInfo(const SwTable * pTable); |