diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-25 15:37:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-25 15:37:13 +0200 |
commit | d66159c61a84b2da7d5d9d341c08aad6b33c4c7b (patch) | |
tree | f7d68c2d0a91973a27717638411b5b600cf4115f /sw/source | |
parent | 39380c04a5de4b56da566c139944b387a4ec133a (diff) |
Remove unnecessary invalid downcast
Change-Id: I53a9e864f01782cef10f2995ba90335f5c81077a
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/layout/frmtool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index aabdd397b8e1..e1cf3f4b886e 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -2538,7 +2538,7 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro pNxt = pSibling->mpNext; pSibling->mpNext = pSav; pSibling->_InvalidatePrt(); - ((SwCntntFrm*)pSibling)->InvalidatePage( pPage ); + pSibling->InvalidatePage( pPage ); if ( ((SwCntntFrm*)pSibling)->GetFollow() ) pSibling->Prepare( PREP_CLEAR, 0, false ); } |