From 8cd1305f091aa60001f46efff71d7e360357b773 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 24 Oct 2011 13:48:01 +0100 Subject: was the intent to mark this as non-copyable --- writerperfect/source/filter/InternalHandler.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'writerperfect') 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 #include "DocumentElement.hxx" #include "OdfDocumentHandler.hxx" +#include -class InternalHandler : public OdfDocumentHandler +class InternalHandler : public OdfDocumentHandler, private boost::noncopyable { public: InternalHandler(std::vector *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 *mpElements; }; #endif -- cgit