[Libreoffice-commits] core.git: lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Sun Aug 28 20:37:45 UTC 2016
lotuswordpro/source/filter/lwpcolor.cxx | 9 ---------
lotuswordpro/source/filter/lwpcolor.hxx | 1 -
2 files changed, 10 deletions(-)
New commits:
commit 0b8d111086efd06ac1b1cc708ad57ff1a51b0c6e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Aug 28 21:32:13 2016 +0100
silence coverity#1371316 operator= is equal to default, so unnecessary
Change-Id: I9b301b6f661732ce4f6e9010324aa0a828736b50
diff --git a/lotuswordpro/source/filter/lwpcolor.cxx b/lotuswordpro/source/filter/lwpcolor.cxx
index bf76a5a..b475ed3 100644
--- a/lotuswordpro/source/filter/lwpcolor.cxx
+++ b/lotuswordpro/source/filter/lwpcolor.cxx
@@ -137,14 +137,5 @@ void LwpColor::ResolveRGB()
m_nBlue = 0;
}
}
-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: */
diff --git a/lotuswordpro/source/filter/lwpcolor.hxx b/lotuswordpro/source/filter/lwpcolor.hxx
index 1b07baf..61d7beb 100644
--- a/lotuswordpro/source/filter/lwpcolor.hxx
+++ b/lotuswordpro/source/filter/lwpcolor.hxx
@@ -79,7 +79,6 @@ public:
sal_uInt16 GetBlue();
bool IsValidColor();
sal_uInt32 To24Color();
- LwpColor& operator = (const LwpColor& rOther);
bool IsTransparent();
private:
sal_uInt16 m_nRed; // When extra is AGLRGB_INDEX, m_nRed holds the
More information about the Libreoffice-commits
mailing list