[Libreoffice-commits] .: writerperfect/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Oct 24 05:48:06 PDT 2011
writerperfect/source/filter/InternalHandler.hxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 8cd1305f091aa60001f46efff71d7e360357b773
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 24 13:48:01 2011 +0100
was the intent to mark this as non-copyable
diff --git a/writerperfect/source/filter/InternalHandler.hxx b/writerperfect/source/filter/InternalHandler.hxx
index f225596..c132db7 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
More information about the Libreoffice-commits
mailing list