summaryrefslogtreecommitdiffstats
path: root/include/cppuhelper/propertysetmixin.hxx
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-05-07 16:15:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-08 15:57:43 +0100
commit7725dddf05a9cbd3eb91d3bde45b22e4182b86dc (patch)
treecfe1fb68b3840a6eb264ef63e052db1b85794da9 /include/cppuhelper/propertysetmixin.hxx
parentSet Valgrind-related env vars in PythonTest, too (diff)
downloadcore-7725dddf05a9cbd3eb91d3bde45b22e4182b86dc.tar.gz
core-7725dddf05a9cbd3eb91d3bde45b22e4182b86dc.zip
fix signatures for copy-ctor and assignment for the propertysetmixin classes
the canonic way to disallow copy construction and assignment of an object is to declare unimplemented methods for them taking const references. (cherry picked from commit 0fabc9a7be629ca150e83b5b69dc5e44b4b2a476) Conflicts: cppuhelper/inc/cppuhelper/propertysetmixin.hxx Change-Id: I7332d6eedaaf208f64cfe421983171ba436a4050
Diffstat (limited to 'include/cppuhelper/propertysetmixin.hxx')
-rw-r--r--include/cppuhelper/propertysetmixin.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/cppuhelper/propertysetmixin.hxx b/include/cppuhelper/propertysetmixin.hxx
index bbca3ac479ee..83f8531561fa 100644
--- a/include/cppuhelper/propertysetmixin.hxx
+++ b/include/cppuhelper/propertysetmixin.hxx
@@ -156,8 +156,8 @@ protected:
void notify() const;
private:
- BoundListeners(BoundListeners &); // not defined
- void operator =(BoundListeners); // not defined
+ BoundListeners( const BoundListeners&); // not defined
+ void operator=( const BoundListeners&); // not defined
class Impl;
Impl * m_impl;
@@ -378,8 +378,8 @@ protected:
com::sun::star::uno::RuntimeException);
private:
- PropertySetMixinImpl(PropertySetMixinImpl &); // not defined
- void operator =(PropertySetMixinImpl &); // not defined
+ PropertySetMixinImpl( const PropertySetMixinImpl&); // not defined
+ void operator=( const PropertySetMixinImpl&); // not defined
PropertySetMixinImpl(
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >
@@ -474,8 +474,8 @@ protected:
~PropertySetMixin() {}
private:
- PropertySetMixin(PropertySetMixin &); // not defined
- void operator =(PropertySetMixin &); // not defined
+ PropertySetMixin( const PropertySetMixin&); // not defined
+ void operator=( const PropertySetMixin&); // not defined
};
#if defined _MSC_VER