Lines Matching refs:pDest
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()
151 int nCellCount = sal_uInt32(pDest->aEnd.Col() - pDest->aStart.Col() + 1) in CalcScRangeDifferenceMax()
152 * sal_uInt32(pDest->aEnd.Row() - pDest->aStart.Row() + 1) in CalcScRangeDifferenceMax()
153 * sal_uInt32(pDest->aEnd.Tab() - pDest->aStart.Tab() + 1); in CalcScRangeDifferenceMax()
161 for (sal_Int32 row = pDest->aStart.Row(); row <= pDest->aEnd.Row();++row) in CalcScRangeDifferenceMax()
163 for (sal_uInt16 col = pDest->aStart.Col(); col <= pDest->aEnd.Col();++col) in CalcScRangeDifferenceMax()
165 vecRet.push_back(ScMyAddress(col,row,pDest->aStart.Tab())); in CalcScRangeDifferenceMax()
182 if(!pDest->In(cell)) in CalcScRangeDifferenceMax()
197 if(!pDest->In(cell)) in CalcScRangeDifferenceMax()
208 sal_Bool ScAccessibleSpreadsheet::CalcScRangeListDifferenceMax(ScRangeList *pSrc,ScRangeList *pDest… in CalcScRangeListDifferenceMax() argument
210 if (pSrc == NULL || pDest == NULL) in CalcScRangeListDifferenceMax()
215 if (pDest->GetCellCount() == 0)//if the Dest Rang List is empty in CalcScRangeListDifferenceMax()
242 ScRange* pRangeDest = pDest->First(); in CalcScRangeListDifferenceMax()
249 pRangeDest = pDest->Next(); in CalcScRangeListDifferenceMax()