--- oo/sc/source/core/tool/compiler.cxx.orig Sat May 24 08:13:49 2003 +++ oo/sc/source/core/tool/compiler.cxx Sat May 24 08:14:21 2003 @@ -2,9 +2,9 @@ * * $RCSfile$ * - * $Revision$ + * $Revision$ * - * last change: $Author$ $Date$ + * last change: $Author$ $Date$ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2989,7 +2989,7 @@ for( ScToken* t = pArr->GetNextReference(); t; t = pArr->GetNextReference() ) { - SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? + const SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? SingleDoubleRefModifier( t->GetSingleRef() ) : SingleDoubleRefModifier( t->GetDoubleRef() )); ComplRefData& rRef = rMod.Ref(); @@ -3029,7 +3029,7 @@ // Absolute references have been already adjusted in the named // shared formula itself prior to breaking the shared formula // and calling this function. Don't readjust them again. - SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? + const SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? SingleDoubleRefModifier( t->GetSingleRef() ) : SingleDoubleRefModifier( t->GetDoubleRef() )); ComplRefData& rRef = rMod.Ref(); --- oo/sc/source/core/tool/rangenam.cxx.orig Sat May 24 08:17:30 2003 +++ oo/sc/source/core/tool/rangenam.cxx Sat May 24 08:17:55 2003 @@ -2,9 +2,9 @@ * * $RCSfile$ * - * $Revision$ + * $Revision$ * - * last change: $Author$ $Date$ + * last change: $Author$ $Date$ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -390,7 +390,7 @@ { if( t->GetType() != svIndex ) { - SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? + const SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? SingleDoubleRefModifier( t->GetSingleRef() ) : SingleDoubleRefModifier( t->GetDoubleRef() )); ComplRefData& rRef = rMod.Ref(); @@ -420,7 +420,7 @@ { if( t->GetType() != svIndex ) { - SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? + const SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? SingleDoubleRefModifier( t->GetSingleRef() ) : SingleDoubleRefModifier( t->GetDoubleRef() )); ComplRefData& rRef = rMod.Ref(); --- oo/sc/source/core/data/cell2.cxx.orig Sat May 24 08:59:18 2003 +++ oo/sc/source/core/data/cell2.cxx Sat May 24 08:59:38 2003 @@ -2,9 +2,9 @@ * * $RCSfile$ * - * $Revision$ + * $Revision$ * - * last change: $Author$ $Date$ + * last change: $Author$ $Date$ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1198,7 +1198,7 @@ t->CalcAbsIfRel( aOldPos ); BOOL bMod; { // own scope for SingleDoubleRefModifier dtor if SingleRef - SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? + const SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? SingleDoubleRefModifier( t->GetSingleRef() ) : SingleDoubleRefModifier( t->GetDoubleRef() )); ComplRefData& rRef = rMod.Ref(); @@ -1227,7 +1227,7 @@ t->CalcAbsIfRel( aOldPos ); BOOL bMod; { // own scope for SingleDoubleRefModifier dtor if SingleRef - SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? + const SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? SingleDoubleRefModifier( t->GetSingleRef() ) : SingleDoubleRefModifier( t->GetDoubleRef() )); ComplRefData& rRef = rMod.Ref(); @@ -1286,7 +1286,7 @@ t->CalcAbsIfRel( aPos ); BOOL bMod; { // own scope for SingleDoubleRefModifier dtor if SingleRef - SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? + const SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? SingleDoubleRefModifier( t->GetSingleRef() ) : SingleDoubleRefModifier( t->GetDoubleRef() )); ComplRefData& rRef = rMod.Ref(); @@ -1315,7 +1315,7 @@ t->CalcAbsIfRel( aPos ); BOOL bMod; { // own scope for SingleDoubleRefModifier dtor if SingleRef - SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? + const SingleDoubleRefModifier& rMod = (t->GetType() == svSingleRef ? SingleDoubleRefModifier( t->GetSingleRef() ) : SingleDoubleRefModifier( t->GetDoubleRef() )); ComplRefData& rRef = rMod.Ref();