drawinglayer/source/attribute/sdrglowattribute.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 3e131bffde3deb7229077aa0d1fd98fe1854a45e
Author:     Mike Kaganski <[email protected]>
AuthorDate: Wed May 6 10:51:17 2020 +0300
Commit:     Mike Kaganski <[email protected]>
CommitDate: Wed May 6 12:36:21 2020 +0200

    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 <[email protected]>

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;
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to