diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-11-04 21:43:54 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-11-04 21:48:04 +0100 |
commit | e6ea58e49ee079772e0a0796cdfb5151af316a6b (patch) | |
tree | 69057f5d20805f3579f068a06403a6262a1cf3a4 /writerfilter | |
parent | a76daca815e9331d8019a60d1a784e5dae86edf3 (diff) |
cppcheck: fix '<type>::operator=' should return '<type> &'.
See http://nabble.documentfoundation.org/About-quot-assignment-operators-quot-cppcheck-warning-td4081208.html
Change-Id: Ie351058a30c5d2df5f5ec1327c575e129d022cd2
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/PropertyMap.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx index 938b932a13e7..5086dfaa9e23 100644 --- a/writerfilter/source/dmapper/PropertyMap.hxx +++ b/writerfilter/source/dmapper/PropertyMap.hxx @@ -75,7 +75,7 @@ public: PropValue() : m_aValue(), m_bGrabBag() {} - const PropValue& operator=(const PropValue& rProp) { m_aValue = rProp.m_aValue; m_bGrabBag = rProp.m_bGrabBag; return *this; } + PropValue& operator=(const PropValue& rProp) { m_aValue = rProp.m_aValue; m_bGrabBag = rProp.m_bGrabBag; return *this; } const uno::Any& getValue() const { return m_aValue; } bool hasGrabBag() const { return m_bGrabBag; } |