summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-04 15:38:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-04 20:21:39 +0200
commit9dddc933dd1d30eec9b3696c0052f5375a9d211f (patch)
tree8e0d9b182d08ad824e32f21682fad341e91a40bc
parentb26a1185d71d30f9b9ed86f99a2fc6ee41899130 (diff)
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@collabora.co.uk>
-rw-r--r--sw/source/core/text/atrstck.cxx2
1 files changed, 0 insertions, 2 deletions
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;
}