summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-05-03 15:05:25 +0200
committerMichael Stahl <mstahl@redhat.com>2017-05-03 15:05:57 +0200
commit81a09c92f00a3c0f9e87272e49db49c25d14aeb5 (patch)
tree91fde158d89081041e38fedc641ebda8ee1538d8 /sw
parent99f23a451050eb24938a5ff5a21b50a3f9a3340a (diff)
sw: fix merge conflict with 925dabe8fd42d85e5d8e610dc75252372161d1b3
Change-Id: I2befd713e15ba65131ab7fa9b58d1505793155f4
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/tox/tox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx
index cb26ad4a6d1b..e53f07aa1ee6 100644
--- a/sw/source/core/tox/tox.cxx
+++ b/sw/source/core/tox/tox.cxx
@@ -457,7 +457,7 @@ void SwTOXBase::CopyTOXBase( SwDoc* pDoc, const SwTOXBase& rSource )
{
maMSTOCExpression = rSource.maMSTOCExpression;
SwTOXType* pType = const_cast<SwTOXType*>(rSource.GetTOXType());
- if( pDoc && !pDoc->GetTOXTypes().Contains( pType ))
+ if( pDoc && !pDoc->GetTOXTypes().IsAlive(pType))
{
// type not in pDoc, so create it now
const SwTOXTypes& rTypes = pDoc->GetTOXTypes();