summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdpage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdpage.cxx')
-rw-r--r--svx/source/svdraw/svdpage.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index e687093291..4998ad7df7 100644
--- a/svx/source/svdraw/svdpage.cxx
+++ b/svx/source/svdraw/svdpage.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -178,13 +179,14 @@ void SdrObjList::CopyObjects(const SdrObjList& rSrcList)
nCloneErrCnt++;
}
}
- // und nun zu den Konnektoren
- // Die neuen Objekte werden auf die der rSrcList abgebildet
- // und so die Objektverbindungen hergestellt.
- // Aehnliche Implementation an folgenden Stellen:
+
+ // and now for the Connectors
+ // The new objects would be shown in the rSrcList
+ // and then the object connections are made.
+ // Similar implementation are setup as the following:
// void SdrObjList::CopyObjects(const SdrObjList& rSrcList)
// SdrModel* SdrExchangeView::GetMarkedObjModel() const
- // FASTBOOL SdrExchangeView::Paste(const SdrModel& rMod,...)
+ // BOOL SdrExchangeView::Paste(const SdrModel& rMod,...)
// void SdrEditView::CopyMarked()
if (nCloneErrCnt==0) {
for (no=0; no<nAnz; no++) {
@@ -772,9 +774,9 @@ SdrObject* SdrObjList::GetObj(ULONG nNum) const
-FASTBOOL SdrObjList::IsReadOnly() const
+bool SdrObjList::IsReadOnly() const
{
- FASTBOOL bRet=FALSE;
+ bool bRet = false;
if (pPage!=NULL && pPage!=this) bRet=pPage->IsReadOnly();
return bRet;
}
@@ -979,8 +981,6 @@ void SdrObjList::ClearObjectNavigationOrder (void)
bool SdrObjList::RecalcNavigationPositions (void)
{
- bool bUpToDate (false);
-
if (mbIsNavigationOrderDirty)
{
if (mpNavigationOrder.get() != NULL)
@@ -992,8 +992,6 @@ bool SdrObjList::RecalcNavigationPositions (void)
sal_uInt32 nIndex (0);
for (iObject=mpNavigationOrder->begin(); iObject!=iEnd; ++iObject,++nIndex)
(*iObject)->SetNavigationPosition(nIndex);
-
- bUpToDate = true;
}
}
@@ -1859,13 +1857,13 @@ SfxStyleSheet* SdrPage::GetTextStyleSheetForObject( SdrObject* pObj ) const
return pObj->GetStyleSheet();
}
-FASTBOOL SdrPage::HasTransparentObjects( BOOL bCheckForAlphaChannel ) const
+bool SdrPage::HasTransparentObjects( BOOL bCheckForAlphaChannel ) const
{
- FASTBOOL bRet = FALSE;
+ bool bRet = false;
for( ULONG n = 0, nCount = GetObjCount(); ( n < nCount ) && !bRet; n++ )
if( GetObj( n )->IsTransparent( bCheckForAlphaChannel ) )
- bRet = TRUE;
+ bRet = true;
return bRet;
}
@@ -1936,12 +1934,12 @@ void SdrPage::ActionChanged() const
}
// NYI: Dummy implementations for declarations in svdpage.hxx
-Bitmap SdrPage::GetBitmap(const SetOfByte& /*rVisibleLayers*/, FASTBOOL /*bTrimBorders*/) const
+Bitmap SdrPage::GetBitmap(const SetOfByte& /*rVisibleLayers*/, bool /*bTrimBorders*/) const
{
DBG_ASSERT(0, "SdrPage::GetBitmap(): not yet implemented.");
return Bitmap();
}
-GDIMetaFile SdrPage::GetMetaFile(const SetOfByte& /*rVisibleLayers*/, FASTBOOL /*bTrimBorders*/)
+GDIMetaFile SdrPage::GetMetaFile(const SetOfByte& /*rVisibleLayers*/, bool /*bTrimBorders*/)
{
DBG_ASSERT(0, "SdrPage::GetMetaFile(): not yet implemented.");
return GDIMetaFile();
@@ -2030,3 +2028,5 @@ drawinglayer::primitive2d::Primitive2DSequence StandardCheckVisisbilityRedirecto
//////////////////////////////////////////////////////////////////////////////
// eof
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */