[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Mon Aug 25 06:37:40 PDT 2014
sw/source/core/layout/frmtool.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d66159c61a84b2da7d5d9d341c08aad6b33c4c7b
Author: Stephan Bergmann <sbergman at 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 );
}
More information about the Libreoffice-commits
mailing list