summaryrefslogtreecommitdiff
path: root/registry/source/reflwrit.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-03 11:22:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-03 15:41:19 +0200
commitbded4ddd6da0de2c465b28a51d773720338542c3 (patch)
treee944a560b77bb2d3a12fb622eefac54bf51f0613 /registry/source/reflwrit.hxx
parent79429448052d4b69cc235000b74f3f8d6fa5a74c (diff)
Make RegistryTypeWriter non-copyable
(and note the operator == vs. = typo) Change-Id: I9c25149967ed9b80f5e8f014de0dfee2e8f485d8
Diffstat (limited to 'registry/source/reflwrit.hxx')
-rw-r--r--registry/source/reflwrit.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/registry/source/reflwrit.hxx b/registry/source/reflwrit.hxx
index 9bb8475302d3..dcf2eecaf722 100644
--- a/registry/source/reflwrit.hxx
+++ b/registry/source/reflwrit.hxx
@@ -58,18 +58,12 @@ public:
sal_uInt16 methodCount,
sal_uInt16 referenceCount);
- /// Copy constructcor
- RegistryTypeWriter(const RegistryTypeWriter& toCopy);
-
/** Destructor. The Destructor frees the internal data block.
The pointer (returned by getBlop) will be set to NULL.
*/
~RegistryTypeWriter();
- /// Assign operator
- RegistryTypeWriter& operator == (const RegistryTypeWriter& toAssign);
-
/** sets the data for a field member of a type blob.
@param index indicates the index of the field.
@@ -100,7 +94,9 @@ public:
*/
sal_uInt32 getBlopSize();
-protected:
+private:
+ RegistryTypeWriter(RegistryTypeWriter &) = delete;
+ void operator =(RegistryTypeWriter) = delete;
/// stores the handle of an implementation class
TypeWriterImpl m_hImpl;