diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-24 13:48:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-24 13:48:01 +0100 |
commit | 8cd1305f091aa60001f46efff71d7e360357b773 (patch) | |
tree | ea32b244c657919ce5b57589f5c3e38a7c3dc55b /writerperfect | |
parent | c73dce072584fa58382c8158c2bc80bf0a7421c5 (diff) |
was the intent to mark this as non-copyable
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/InternalHandler.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/writerperfect/source/filter/InternalHandler.hxx b/writerperfect/source/filter/InternalHandler.hxx index f2255966f2d2..c132db765d79 100644 --- a/writerperfect/source/filter/InternalHandler.hxx +++ b/writerperfect/source/filter/InternalHandler.hxx @@ -29,8 +29,9 @@ #include <libwpd/WPXString.h> #include "DocumentElement.hxx" #include "OdfDocumentHandler.hxx" +#include <boost/noncopyable.hpp> -class InternalHandler : public OdfDocumentHandler +class InternalHandler : public OdfDocumentHandler, private boost::noncopyable { public: InternalHandler(std::vector<DocumentElement *> *elements); @@ -42,8 +43,6 @@ public: void endElement(const char *psName); void characters(const WPXString &sCharacters); private: - InternalHandler(InternalHandler const &orig) : mpElements(0) { *this = orig; } - InternalHandler &operator=(InternalHandler const &) { mpElements=0L; return *this; } std::vector<DocumentElement *> *mpElements; }; #endif |