diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-03 18:48:19 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-04 01:09:58 +0100 |
commit | 1de19df963513a3f78e5bd4a73c059f1c32c599d (patch) | |
tree | ed121465bfde3706c07184b4942c3981176c05bc /sw | |
parent | 723753385dfb7c31835427fef4db8bc8df7d78dd (diff) |
unnecessary cast
Change-Id: I15fb840897556ebef63611ced01468461179203d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unoobj2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index 9cc2e34d48b4..45f95e543bdc 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -1077,7 +1077,7 @@ bool XTextRangeToSwPaM( SwUnoInternalPaM & rToFill, : ((pPortion) ? pPortion->GetCursor() : 0); if (pUnoCrsr && pDoc == rToFill.GetDoc()) { - OSL_ENSURE(static_cast<SwPaM*>(pUnoCrsr->GetNext()) == pUnoCrsr, + OSL_ENSURE(pUnoCrsr->GetNext() == pUnoCrsr, "what to do about rings?"); bRet = true; *rToFill.GetPoint() = *pUnoCrsr->GetPoint(); |