diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-06 02:26:18 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-08 14:52:15 +0100 |
commit | 29a4edaee6b258f5aa5b887fe745a8dd4c4a5823 (patch) | |
tree | e2f9abfa2988951b35ac4ee9953b6c00229d4d7a /sw/source/core/doc/doccomp.cxx | |
parent | 01896d465a885e42d66a33a4cc88e7b1021b1a54 (diff) |
use unique
Change-Id: I49b9b69b66f4d8835078056b5681a1bf3760ffc9
Diffstat (limited to 'sw/source/core/doc/doccomp.cxx')
-rw-r--r-- | sw/source/core/doc/doccomp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 937430ea746d..24b386bce9fb 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -1898,7 +1898,7 @@ sal_uInt16 _SaveMergeRedlines::InsertRedline(_SaveMergeRedlines* pRing, const Sw if( !pRing->unique() ) { - SwPaM* pTmpPrev = static_cast<_SaveMergeRedlines*>(pRing->GetPrev())->pDestRedl; + SwPaM* pTmpPrev = pRing->GetPrev()->pDestRedl; if( pTmpPrev && *pTmpPrev->GetPoint() == *pDestRedl->GetPoint() ) *pTmpPrev->GetPoint() = *pDestRedl->GetMark(); } |