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/txatbase.hxx | |
parent | 7b08ccceffac5b5df904f84ca0b5aa646d6bd00e (diff) |
sw: replace boost::noncopyable with C++11 delete
Change-Id: I672b187c92ccb71a6c4b9bc5e1169970fb61aa7d
Diffstat (limited to 'sw/inc/txatbase.hxx')
-rw-r--r-- | sw/inc/txatbase.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx index b31feacf7757..1efbe7b92e29 100644 --- a/sw/inc/txatbase.hxx +++ b/sw/inc/txatbase.hxx @@ -33,12 +33,11 @@ #include <fchrfmt.hxx> #include <tox.hxx> -#include <boost/noncopyable.hpp> class SfxItemPool; class SvXMLAttrContainerItem; -class SwTextAttr : private boost::noncopyable +class SwTextAttr { private: SfxPoolItem * const m_pAttr; @@ -57,6 +56,9 @@ private: bool m_bFormatIgnoreEnd : 1; ///< text formatting should ignore end bool m_bHasContent : 1; // text attribute with content + SwTextAttr(SwTextAttr const&) = delete; + SwTextAttr& operator=(SwTextAttr const&) = delete; + protected: SwTextAttr( SfxPoolItem& rAttr, sal_Int32 nStart ); virtual ~SwTextAttr(); |