Lines Matching refs:pSourceShell
68 pSourceShell( NULL ), in ScLinkedAreaDlg()
119 if (pSourceShell) in IMPL_LINK()
121 SfxMedium* pMed = pSourceShell->GetMedium(); in IMPL_LINK()
149 if ( pSourceShell ) in LoadDocument()
152 pSourceShell->DoClose(); in LoadDocument()
153 pSourceShell = NULL; in LoadDocument()
167 pSourceShell = aLoader.GetDocShell(); in LoadDocument()
168 if ( pSourceShell ) in LoadDocument()
170 sal_uLong nErr = pSourceShell->GetErrorCode(); in LoadDocument()
174 aSourceRef = pSourceShell; in LoadDocument()
185 if (pSourceShell) in InitFromOldLink()
187 SfxMedium* pMed = pSourceShell->GetMedium(); in InitFromOldLink()
248 if (pSourceShell) in IMPL_LINK()
249 pSourceShell->DoClose(); // deleted when assigning aSourceRef in IMPL_LINK()
253 pSourceShell = new ScDocShell; in IMPL_LINK()
254 aSourceRef = pSourceShell; in IMPL_LINK()
255 pSourceShell->DoLoad( pMed ); in IMPL_LINK()
257 sal_uLong nErr = pSourceShell->GetErrorCode(); in IMPL_LINK()
261 if ( !pSourceShell->GetError() ) // only errors in IMPL_LINK()
268 pSourceShell->DoClose(); in IMPL_LINK()
269 pSourceShell = NULL; in IMPL_LINK()
289 if ( pSourceShell ) in UpdateSourceRanges()
291 ScAreaNameIterator aIter( pSourceShell->GetDocument() ); in UpdateSourceRanges()
306 sal_Bool bEnable = ( pSourceShell && aLbRanges.GetSelectEntryCount() ); in UpdateEnable()
316 if (pSourceShell) in GetURL()
318 SfxMedium* pMed = pSourceShell->GetMedium(); in GetURL()
326 if (pSourceShell) in GetFilter()
328 SfxMedium* pMed = pSourceShell->GetMedium(); in GetFilter()
336 if (pSourceShell) in GetOptions()
338 SfxMedium* pMed = pSourceShell->GetMedium(); in GetOptions()