sw/source/core/layout/frmtool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d66159c61a84b2da7d5d9d341c08aad6b33c4c7b Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Aug 25 15:37:13 2014 +0200 Remove unnecessary invalid downcast Change-Id: I53a9e864f01782cef10f2995ba90335f5c81077a diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index aabdd39..e1cf3f4 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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits