Lines Matching refs:pDocColl
68 ScDBCollection* pDocColl = pDoc->GetDBCollection(); in AddDBRange() local
73 pUndoColl = new ScDBCollection( *pDocColl ); in AddDBRange()
86 sal_Bool bOk = pDocColl->Insert( pNew ); in AddDBRange()
99 ScDBCollection* pRedoColl = new ScDBCollection( *pDocColl ); in AddDBRange()
113 ScDBCollection* pDocColl = pDoc->GetDBCollection(); in DeleteDBRange() local
117 if (pDocColl->SearchName( rName, nPos )) in DeleteDBRange()
123 pUndoColl = new ScDBCollection( *pDocColl ); in DeleteDBRange()
126 pDocColl->AtFree( nPos ); in DeleteDBRange()
131 ScDBCollection* pRedoColl = new ScDBCollection( *pDocColl ); in DeleteDBRange()
148 ScDBCollection* pDocColl = pDoc->GetDBCollection(); in RenameDBRange() local
153 if ( pDocColl->SearchName( rOld, nPos ) && in RenameDBRange()
154 !pDocColl->SearchName( rNew, nDummy ) ) in RenameDBRange()
158 ScDBData* pData = (*pDocColl)[nPos]; in RenameDBRange()
162 ScDBCollection* pUndoColl = new ScDBCollection( *pDocColl ); in RenameDBRange()
165 pDocColl->AtFree( nPos ); in RenameDBRange()
166 sal_Bool bInserted = pDocColl->Insert( pNewData ); in RenameDBRange()
178 ScDBCollection* pRedoColl = new ScDBCollection( *pDocColl ); in RenameDBRange()
198 ScDBCollection* pDocColl = pDoc->GetDBCollection(); in ModifyDBData() local
202 if (pDocColl->SearchName( rNewData.GetName(), nPos )) in ModifyDBData()
206 ScDBData* pData = (*pDocColl)[nPos]; in ModifyDBData()
215 pUndoColl = new ScDBCollection( *pDocColl ); in ModifyDBData()
223 ScDBCollection* pRedoColl = new ScDBCollection( *pDocColl ); in ModifyDBData()