summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-06 17:36:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-06 18:13:59 +0200
commit48c90eb75f4610480be28ecad48953143c7f297a (patch)
treec07c25519651c29e3013848d2fdd1893c10c212b /sw
parent02e462f5b15ff5ca00992349fdbc79689ccb3863 (diff)
SwCntntNode::DelFrms already checks for GetDepends()
Change-Id: I9f7ccd372a570dc4dea98983c51419dce83f8be8
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/docnode/node.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index 1628967a6067..93386082e24b 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -912,8 +912,7 @@ SwCntntNode::~SwCntntNode()
{
// The base class SwClient of SwFrm excludes itself from the dependency list!
// Thus, we need to delete all Frames in the dependency list.
- if( GetDepends() )
- DelFrms(false);
+ DelFrms(false);
delete pCondColl;