diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-03 14:48:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-03 14:48:49 +0000 |
commit | ca0da7f38afec8265ef78e15a6569229a7a672f4 (patch) | |
tree | 1c1285530261d14496969b2e64cbc0714c6fabc8 /lotuswordpro/source/filter/lwpcolor.cxx | |
parent | 6234d688638954f172372f646cb300642989ffeb (diff) |
fix copy ctor and assignment sigs
Diffstat (limited to 'lotuswordpro/source/filter/lwpcolor.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpcolor.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpcolor.cxx b/lotuswordpro/source/filter/lwpcolor.cxx index dd70635e2dea..780db0e97a85 100644 --- a/lotuswordpro/source/filter/lwpcolor.cxx +++ b/lotuswordpro/source/filter/lwpcolor.cxx @@ -141,12 +141,14 @@ void LwpColor::ResolveRGB() m_nBlue = 0; } } -void LwpColor::operator = (const LwpColor& rOther) +LwpColor& LwpColor::operator = (const LwpColor& rOther) { m_nRed = rOther.m_nRed; m_nGreen = rOther.m_nGreen; m_nBlue = rOther.m_nBlue; m_nExtra = rOther.m_nExtra; + + return *this; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |