diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-15 20:54:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 12:54:45 +0000 |
commit | 01a8bda416d1598f5486f95b6a57d61ff09873ed (patch) | |
tree | c37934d13308426d22599f63bf8666305a6b1f80 /vcl/source/edit/textdoc.hxx | |
parent | a1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (diff) |
boost::noncopyable->'= delete'
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
Diffstat (limited to 'vcl/source/edit/textdoc.hxx')
-rw-r--r-- | vcl/source/edit/textdoc.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/edit/textdoc.hxx b/vcl/source/edit/textdoc.hxx index f0d1ab36d653..80dd97cf80b5 100644 --- a/vcl/source/edit/textdoc.hxx +++ b/vcl/source/edit/textdoc.hxx @@ -23,12 +23,14 @@ #include <rtl/ustring.hxx> #include <vcl/textdata.hxx> #include <vcl/txtattr.hxx> -#include <boost/noncopyable.hpp> #include <boost/ptr_container/ptr_vector.hpp> -class TextCharAttribList : boost::noncopyable +class TextCharAttribList { private: + TextCharAttribList(const TextCharAttribList&) SAL_DELETED_FUNCTION; + TextCharAttribList& operator=(const TextCharAttribList&) SAL_DELETED_FUNCTION; + typedef boost::ptr_vector<TextCharAttrib> TextCharAttribs; TextCharAttribs maAttribs; bool mbHasEmptyAttribs; |