summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;