summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-25 15:37:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-25 15:37:13 +0200
commitd66159c61a84b2da7d5d9d341c08aad6b33c4c7b (patch)
treef7d68c2d0a91973a27717638411b5b600cf4115f /sw/source
parent39380c04a5de4b56da566c139944b387a4ec133a (diff)
Remove unnecessary invalid downcast
Change-Id: I53a9e864f01782cef10f2995ba90335f5c81077a
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/layout/frmtool.cxx2
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 );
}