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/fmtmeta.hxx | |
parent | 7b08ccceffac5b5df904f84ca0b5aa646d6bd00e (diff) |
sw: replace boost::noncopyable with C++11 delete
Change-Id: I672b187c92ccb71a6c4b9bc5e1169970fb61aa7d
Diffstat (limited to 'sw/inc/fmtmeta.hxx')
-rw-r--r-- | sw/inc/fmtmeta.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/fmtmeta.hxx b/sw/inc/fmtmeta.hxx index eb276dfc2690..b4ba789d582a 100644 --- a/sw/inc/fmtmeta.hxx +++ b/sw/inc/fmtmeta.hxx @@ -25,8 +25,6 @@ #include <svl/poolitem.hxx> #include <sfx2/Metadatable.hxx> -#include <boost/noncopyable.hpp> - #include <memory> #include <vector> @@ -194,7 +192,6 @@ public: /// knows all meta-fields in the document. class SW_DLLPUBLIC MetaFieldManager - : private ::boost::noncopyable { private: typedef ::std::vector< std::weak_ptr<MetaField> > MetaFieldList_t; @@ -202,6 +199,9 @@ private: /// Document properties of a clipboard document, empty for non-clipboard documents. css::uno::Reference<css::document::XDocumentProperties> m_xDocumentProperties; + MetaFieldManager(MetaFieldManager const&) = delete; + MetaFieldManager& operator=(MetaFieldManager const&) = delete; + public: MetaFieldManager(); std::shared_ptr<MetaField> makeMetaField( |