diff options
Diffstat (limited to 'sw/source/core/unocore/unoportenum.cxx')
-rw-r--r-- | sw/source/core/unocore/unoportenum.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx index bb184fd9b879..0a5115b768fb 100644 --- a/sw/source/core/unocore/unoportenum.cxx +++ b/sw/source/core/unocore/unoportenum.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -92,9 +92,9 @@ namespace struct SwXBookmarkPortion_Impl { - Reference<XTextContent> xBookmark; - BYTE nBkmType; - const SwPosition aPosition; + Reference<XTextContent> xBookmark; + BYTE nBkmType; + const SwPosition aPosition; SwXBookmarkPortion_Impl(uno::Reference<text::XTextContent> const& xMark, const BYTE nType, SwPosition const& rPosition) @@ -118,8 +118,8 @@ namespace // always precede the end. Hence compare positions, and use bookmark type // as tie-breaker for same position. // return ( r1->nIndex == r2->nIndex ) - // ? ( r1->nBkmType < r2->nBkmType ) - // : ( r1->nIndex < r2->nIndex ); + // ? ( r1->nBkmType < r2->nBkmType ) + // : ( r1->nIndex < r2->nIndex ); // MTG: 25/11/05: Note that the above code does not correctly handle // the case when one bookmark ends, and another begins in the same @@ -195,7 +195,7 @@ namespace /****************************************************************** - * SwXTextPortionEnumeration + * SwXTextPortionEnumeration ******************************************************************/ /* -----------------------------13.03.00 12:15-------------------------------- @@ -759,7 +759,7 @@ lcl_ExportHints( pPortion->SetTextField(xField); } break; - case RES_TXTATR_FLYCNT : + case RES_TXTATR_FLYCNT : if(!bRightMoveForbidden) { pUnoCrsr->Right(1,CRSR_SKIP_CHARS,FALSE,FALSE); @@ -770,7 +770,7 @@ lcl_ExportHints( pUnoCrsr, xParent, PORTION_FRAME); } break; - case RES_TXTATR_FTN : + case RES_TXTATR_FTN : { if(!bRightMoveForbidden) { @@ -921,7 +921,7 @@ void lcl_MoveCursor( SwUnoCrsr * const pUnoCrsr, if (nMovePos > nCurrentIndex) { -// pUnoCrsr->Right(nMovePos - nCurrentIndex); +// pUnoCrsr->Right(nMovePos - nCurrentIndex); pUnoCrsr->GetPoint()->nContent = static_cast<USHORT>(nMovePos); } } @@ -1219,7 +1219,7 @@ lcl_CreatePortions( /*-- 27.01.99 10:44:45--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextPortionEnumeration::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew) +void SwXTextPortionEnumeration::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew) { ClientModify(this, pOld, pNew); } |