Lines Matching refs:pSrc
142 sal_Bool ScAccessibleSpreadsheet::CalcScRangeDifferenceMax(ScRange *pSrc,ScRange *pDest,int nMax,VE… in CalcScRangeDifferenceMax() argument
145 if (pDest->In(*pSrc)) in CalcScRangeDifferenceMax()
149 if (!pDest->Intersects(*pSrc)) in CalcScRangeDifferenceMax()
171 sal_Int32 nMinRow = pSrc->aStart.Row(); in CalcScRangeDifferenceMax()
172 sal_Int32 nMaxRow = pSrc->aEnd.Row(); in CalcScRangeDifferenceMax()
175 for (sal_uInt16 col = pSrc->aStart.Col(); col <= pSrc->aEnd.Col();++col) in CalcScRangeDifferenceMax()
181 ScMyAddress cell(col,nMinRow,pSrc->aStart.Tab()); in CalcScRangeDifferenceMax()
190 for (sal_uInt16 col = pSrc->aStart.Col(); col <= pSrc->aEnd.Col();++col) in CalcScRangeDifferenceMax()
196 ScMyAddress cell(col,nMaxRow,pSrc->aStart.Tab()); in CalcScRangeDifferenceMax()
208 sal_Bool ScAccessibleSpreadsheet::CalcScRangeListDifferenceMax(ScRangeList *pSrc,ScRangeList *pDest… in CalcScRangeListDifferenceMax() argument
210 if (pSrc == NULL || pDest == NULL) in CalcScRangeListDifferenceMax()
217 if (pSrc->GetCellCount() > sal_uInt32(nMax))//if the Src Cell count is greater then nMax in CalcScRangeListDifferenceMax()
223 ScRange* pRange = pSrc->First(); in CalcScRangeListDifferenceMax()
233 pRange = pSrc->Next(); in CalcScRangeListDifferenceMax()
239 ScRange* pRange = pSrc->First(); in CalcScRangeListDifferenceMax()
251 pRange = pSrc->Next(); in CalcScRangeListDifferenceMax()