diff options
Diffstat (limited to 'sw/source/core/doc/doccorr.cxx')
-rw-r--r-- | sw/source/core/doc/doccorr.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/doc/doccorr.cxx b/sw/source/core/doc/doccorr.cxx index b68d512d1aa0..67f83f0f42f0 100644 --- a/sw/source/core/doc/doccorr.cxx +++ b/sw/source/core/doc/doccorr.cxx @@ -2,7 +2,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 @@ -122,9 +122,9 @@ namespace const SwPosition& rEnd, const SwPosition& rNewPos) { - for(int nb = 0; nb < 2; ++nb) - if(rStart <= (pPam)->GetBound(BOOL(nb)) && - (pPam)->GetBound(BOOL(nb)) <= rEnd ) + for(int nb = 0; nb < 2; ++nb) + if(rStart <= (pPam)->GetBound(BOOL(nb)) && + (pPam)->GetBound(BOOL(nb)) <= rEnd ) (pPam)->GetBound(BOOL(nb)) = rNewPos; }; @@ -139,7 +139,7 @@ namespace (pPam)->GetBound(BOOL(nb)).nNode = rNewPos.nNode; (pPam)->GetBound(BOOL(nb)).nContent.Assign( const_cast<SwIndexReg*>(rNewPos.nContent.GetIdxReg()), - nCntIdx + (pPam)->GetBound(BOOL(nb)).nContent.GetIndex()); + nCntIdx + (pPam)->GetBound(BOOL(nb)).nContent.GetIndex()); } } } |