INTEGRATION: CWS impress150 (1.53.60); FILE MERGED

2008/07/21 14:52:31 cl 1.53.60.1: #i91807# create correct undo actions when combining paragraphs
This commit is contained in:
Rüdiger Timm 2008-07-30 13:10:52 +00:00
parent 5593ad5933
commit f24d548a12

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sdmod2.cxx,v $
* $Revision: 1.53 $
* $Revision: 1.54 $
*
* This file is part of OpenOffice.org.
*
@ -121,7 +121,7 @@ static SdPage* GetCurrentPage( sd::ViewShell* pViewSh, EditFieldInfo* pInfo, boo
for( Paragraph* pPara = pOutl->GetParagraph( 0 ); pPara && nPos >= 0; pPara = pOutl->GetParagraph( ++nParaPos ), nPos-- )
{
if( pPara->HasFlag( PARAFLAG_ISPAGE ) )
if( pOutl->HasParaFlag( pPara, PARAFLAG_ISPAGE ) )
nPgNum++;
}