Lines Matching refs:xDoc

284 …uno::Reference< document::XStorageBasedDocument > xDoc( m_pDocHolder->GetComponent(), uno::UNO_QUE…  in SwitchOwnPersistence()  local
285 if ( xDoc.is() ) in SwitchOwnPersistence()
286 SwitchDocToStorage_Impl( xDoc, m_xObjectStorage ); in SwitchOwnPersistence()
351 uno::Reference< document::XStorageBasedDocument > xDoc( xLoadable, uno::UNO_QUERY ); in InitNewDocument_Impl() local
352 …OSL_ENSURE( xDoc.is(), "OCommonEmbeddedObject::InitNewDocument_Impl: cannot recover from a storage… in InitNewDocument_Impl()
353 if ( xDoc.is() ) in InitNewDocument_Impl()
358 xDoc->loadFromStorage( m_xRecoveryStorage, aLoadArgs.getPropertyValues() ); in InitNewDocument_Impl()
359 SwitchDocToStorage_Impl( xDoc, m_xObjectStorage ); in InitNewDocument_Impl()
516 uno::Reference< document::XStorageBasedDocument > xDoc in LoadDocumentFromStorage_Impl() local
521 if ( !xDoc.is() && !xLoadable.is() ) ///BUG: This should be || instead of && ? in LoadDocumentFromStorage_Impl()
528 if ( !xDoc.is() ) in LoadDocumentFromStorage_Impl()
561 if ( xDoc.is() ) in LoadDocumentFromStorage_Impl()
563 xDoc->loadFromStorage( xSourceStorage, aLoadArgs.getPropertyValues() ); in LoadDocumentFromStorage_Impl()
565 SwitchDocToStorage_Impl( xDoc, m_xObjectStorage ); in LoadDocumentFromStorage_Impl()
743 …cToStorage_Impl( const uno::Reference< document::XStorageBasedDocument >& xDoc, const uno::Referen… in SwitchDocToStorage_Impl() argument
745 xDoc->switchToStorage( xStorage ); in SwitchDocToStorage_Impl()
747 uno::Reference< util::XModifiable > xModif( xDoc, uno::UNO_QUERY ); in SwitchDocToStorage_Impl()
768 uno::Reference< document::XStorageBasedDocument > xDoc; in StoreDocToStorage_Impl() local
772xDoc = uno::Reference< document::XStorageBasedDocument >( m_pDocHolder->GetComponent(), uno::UNO_Q… in StoreDocToStorage_Impl()
775 if ( xDoc.is() ) in StoreDocToStorage_Impl()
791 xDoc->storeToStorage( xStorage, aArgs ); in StoreDocToStorage_Impl()
793 SwitchDocToStorage_Impl( xDoc, xStorage ); in StoreDocToStorage_Impl()