[Libreoffice-commits] core.git: sw/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 4 18:22:13 UTC 2021


 sw/source/core/text/atrstck.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 9dddc933dd1d30eec9b3696c0052f5375a9d211f
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Oct 4 15:38:01 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Oct 4 20:21:39 2021 +0200

    cid#1492313 Logically dead code
    
    Change-Id: I2e3802881e5fde178dfc2f999b2ddb35923c221b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123055
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/source/core/text/atrstck.cxx b/sw/source/core/text/atrstck.cxx
index 79dc822361c6..430e2ea4527d 100644
--- a/sw/source/core/text/atrstck.cxx
+++ b/sw/source/core/text/atrstck.cxx
@@ -406,8 +406,6 @@ bool SwAttrHandler::Push( const SwTextAttr& rAttr, const SfxPoolItem& rItem )
         return true;
     }
 
-    if (!pTopAttr)
-        m_aAttrStack[nStack] = &rAttr;
     return false;
 }
 


More information about the Libreoffice-commits mailing list