Kaydet (Commit) d66159c6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unnecessary invalid downcast

Change-Id: I53a9e864f01782cef10f2995ba90335f5c81077a
üst 39380c04
...@@ -2538,7 +2538,7 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro ...@@ -2538,7 +2538,7 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
pNxt = pSibling->mpNext; pNxt = pSibling->mpNext;
pSibling->mpNext = pSav; pSibling->mpNext = pSav;
pSibling->_InvalidatePrt(); pSibling->_InvalidatePrt();
((SwCntntFrm*)pSibling)->InvalidatePage( pPage ); pSibling->InvalidatePage( pPage );
if ( ((SwCntntFrm*)pSibling)->GetFollow() ) if ( ((SwCntntFrm*)pSibling)->GetFollow() )
pSibling->Prepare( PREP_CLEAR, 0, false ); pSibling->Prepare( PREP_CLEAR, 0, false );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment