sc/source/core/data/formulacell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e3d81079cb97989086647d8419b6d423713e2319 Author: Eike Rathke <er...@redhat.com> Date: Thu Mar 24 12:08:48 2016 +0100 use FindRangeNameByIndexAndSheet() Change-Id: I94c0ba0d613e235c538cd7bdd3c36c98618fec42 diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 679bd97..6b72743 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -961,7 +961,7 @@ ScFormulaCell::ScFormulaCell( const ScFormulaCell& rCell, ScDocument& rDoc, cons } else if ( t->GetType() == svIndex ) { - ScRangeData* pRangeData = rDoc.GetRangeName()->findByIndex( t->GetIndex() ); + const ScRangeData* pRangeData = rDoc.FindRangeNameByIndexAndSheet( t->GetIndex(), t->GetSheet()); if( pRangeData ) { if( pRangeData->HasReferences() ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits