Lines Matching refs:pDocShell
85 pDocShell( pDocSh ) in ScLinkTargetTypesObj()
87 pDocShell->GetDocument()->AddUnoObject(*this); in ScLinkTargetTypesObj()
95 if (pDocShell) in ~ScLinkTargetTypesObj()
96 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScLinkTargetTypesObj()
102 pDocShell = NULL; // document gone in Notify()
110 if (pDocShell) in getByName()
115 …eturn uno::makeAny(uno::Reference< beans::XPropertySet >(new ScLinkTargetTypeObj( pDocShell, i ))); in getByName()
155 pDocShell( pDocSh ), in ScLinkTargetTypeObj()
158 pDocShell->GetDocument()->AddUnoObject(*this); in ScLinkTargetTypeObj()
164 if (pDocShell) in ~ScLinkTargetTypeObj()
165 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScLinkTargetTypeObj()
171 pDocShell = NULL; // document gone in Notify()
180 if ( pDocShell ) in getLinks()
185 xCollection.set(new ScTableSheetsObj(pDocShell)); in getLinks()
188 xCollection.set(new ScNamedRangesObj(pDocShell)); in getLinks()
191 xCollection.set(new ScDatabaseRangesObj(pDocShell)); in getLinks()