summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuprobjs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuprobjs.cxx')
-rwxr-xr-x[-rw-r--r--]sd/source/ui/func/fuprobjs.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/func/fuprobjs.cxx b/sd/source/ui/func/fuprobjs.cxx
index d65bc8aaffe3..56db54cc7564 100644..100755
--- a/sd/source/ui/func/fuprobjs.cxx
+++ b/sd/source/ui/func/fuprobjs.cxx
@@ -97,32 +97,32 @@ void FuPresentationObjects::DoExecute( SfxRequest& )
String aLayoutName = (((SfxStringItem&)aSet.Get(SID_STATUS_LAYOUT)).GetValue());
DBG_ASSERT(aLayoutName.Len(), "Layout unbestimmt");
- BOOL bUnique = FALSE;
+ sal_Bool bUnique = sal_False;
sal_Int16 nDepth, nTmp;
OutlineView* pOlView = static_cast<OutlineView*>(pOutlineViewShell->GetView());
OutlinerView* pOutlinerView = pOlView->GetViewByWindow( (Window*) mpWindow );
::Outliner* pOutl = pOutlinerView->GetOutliner();
List* pList = pOutlinerView->CreateSelectionList();
Paragraph* pPara = (Paragraph*)pList->First();
- nDepth = pOutl->GetDepth((USHORT)pOutl->GetAbsPos( pPara ) );
+ nDepth = pOutl->GetDepth((sal_uInt16)pOutl->GetAbsPos( pPara ) );
bool bPage = pOutl->HasParaFlag( pPara, PARAFLAG_ISPAGE );
while( pPara )
{
- nTmp = pOutl->GetDepth((USHORT) pOutl->GetAbsPos( pPara ) );
+ nTmp = pOutl->GetDepth((sal_uInt16) pOutl->GetAbsPos( pPara ) );
if( nDepth != nTmp )
{
- bUnique = FALSE;
+ bUnique = sal_False;
break;
}
if( pOutl->HasParaFlag( pPara, PARAFLAG_ISPAGE ) != bPage )
{
- bUnique = FALSE;
+ bUnique = sal_False;
break;
}
- bUnique = TRUE;
+ bUnique = sal_True;
pPara = (Paragraph*) pList->Next();
}
@@ -131,7 +131,7 @@ void FuPresentationObjects::DoExecute( SfxRequest& )
{
String aStyleName = aLayoutName;
aStyleName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( SD_LT_SEPARATOR ) );
- USHORT nDlgId = TAB_PRES_LAYOUT_TEMPLATE;
+ sal_uInt16 nDlgId = TAB_PRES_LAYOUT_TEMPLATE;
PresentationObjects ePO;
if( bPage )