summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-28 21:32:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-28 21:37:19 +0100
commit0b8d111086efd06ac1b1cc708ad57ff1a51b0c6e (patch)
treefe940f845e005a7f442bd1988f554df4051bbf30 /lotuswordpro
parent70152506d968f407fad3a1cb6959c67f99bd59ce (diff)
silence coverity#1371316 operator= is equal to default, so unnecessary
Change-Id: I9b301b6f661732ce4f6e9010324aa0a828736b50
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpcolor.cxx9
-rw-r--r--lotuswordpro/source/filter/lwpcolor.hxx1
2 files changed, 0 insertions, 10 deletions
diff --git a/lotuswordpro/source/filter/lwpcolor.cxx b/lotuswordpro/source/filter/lwpcolor.cxx
index bf76a5a372a7..b475ed365a9a 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 1b07baffea12..61d7beb1e06e 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