summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-05-06 10:51:17 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-05-06 12:36:21 +0200
commit3e131bffde3deb7229077aa0d1fd98fe1854a45e (patch)
tree342e1fe638efcac166839c8b3a1bc9a82d207c00 /drawinglayer
parent11ee7f6598a0b98959fac75406e94b0a59709ce5 (diff)
This comparison is redundant, radiuses are compared below
Change-Id: Idb98314877518beefdd12dd95bbbb055f3aa429d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93549 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/attribute/sdrglowattribute.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/drawinglayer/source/attribute/sdrglowattribute.cxx b/drawinglayer/source/attribute/sdrglowattribute.cxx
index 6eaab35b8f37..4295aef23ae3 100644
--- a/drawinglayer/source/attribute/sdrglowattribute.cxx
+++ b/drawinglayer/source/attribute/sdrglowattribute.cxx
@@ -41,8 +41,6 @@ SdrGlowAttribute& SdrGlowAttribute::operator=(SdrGlowAttribute&&) = default;
bool SdrGlowAttribute::operator==(const SdrGlowAttribute& rCandidate) const
{
- if (rCandidate.isDefault() != isDefault())
- return false;
return m_nRadius == rCandidate.m_nRadius && m_color == rCandidate.m_color;
}