summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuprobjs.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-07-30 13:11:56 +0000
committerRüdiger Timm <rt@openoffice.org>2008-07-30 13:11:56 +0000
commit8a6b590210c03132be9751adbac8d99bc0f55cd1 (patch)
treeddb2faae6f0464eb95459bcae18c8aa250654551 /sd/source/ui/func/fuprobjs.cxx
parent6778575864367e42b894dc054dc750611ce552c4 (diff)
INTEGRATION: CWS impress150 (1.11.62); FILE MERGED
2008/07/21 16:03:49 cl 1.11.62.1: #i91807# create correct undo actions when combining paragraphs
Diffstat (limited to 'sd/source/ui/func/fuprobjs.cxx')
-rw-r--r--sd/source/ui/func/fuprobjs.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/func/fuprobjs.cxx b/sd/source/ui/func/fuprobjs.cxx
index 4fc4e1f616fa..6f6c8d77dd38 100644
--- a/sd/source/ui/func/fuprobjs.cxx
+++ b/sd/source/ui/func/fuprobjs.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fuprobjs.cxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
@@ -108,7 +108,7 @@ void FuPresentationObjects::DoExecute( SfxRequest& )
List* pList = pOutlinerView->CreateSelectionList();
Paragraph* pPara = (Paragraph*)pList->First();
nDepth = pOutl->GetDepth((USHORT)pOutl->GetAbsPos( pPara ) );
- bool bPage = pPara->HasFlag( PARAFLAG_ISPAGE );
+ bool bPage = pOutl->HasParaFlag( pPara, PARAFLAG_ISPAGE );
while( pPara )
{
@@ -120,7 +120,7 @@ void FuPresentationObjects::DoExecute( SfxRequest& )
break;
}
- if( pPara->HasFlag( PARAFLAG_ISPAGE ) != bPage )
+ if( pOutl->HasParaFlag( pPara, PARAFLAG_ISPAGE ) != bPage )
{
bUnique = FALSE;
break;