Tag: cws_src680_dba30 User: fs Date: 05/05/25 08:01:47 Modified: /dba/dbaccess/source/core/dataaccess/ ModelImpl.hxx
Log: RESYNC: (1.3-1.4); FILE MERGED File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: ModelImpl.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/ModelImpl.hxx?r1=1.3.2.1&r2=1.3.2.2 Delta lines: +24 -3 -------------------- --- ModelImpl.hxx 6 Apr 2005 07:17:36 -0000 1.3.2.1 +++ ModelImpl.hxx 25 May 2005 15:01:44 -0000 1.3.2.2 @@ -74,6 +74,9 @@ #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #endif +#ifndef _COM_SUN_STAR_LANG_XSINGLESERVICEFACTORY_HPP_ +#include <com/sun/star/lang/XSingleServiceFactory.hpp> +#endif #ifndef _COM_SUN_STAR_CONTAINER_XCONTAINERLISTENER_HPP_ #include <com/sun/star/container/XContainerListener.hpp> #endif @@ -230,7 +233,18 @@ ::com::sun::star::uno::WeakReference< ::com::sun::star::container::XNameAccess > m_xForms; ::com::sun::star::uno::WeakReference< ::com::sun::star::container::XNameAccess > m_xReports; + /// the URL the document was loaded from ::rtl::OUString m_sFileURL; + /** the URL which the document should report as it's URL + + This might differ from ->m_sFileURL in case the document was loaded + as part of a crash recovery process. In this case, ->m_sFileURL points to + the temporary file where the DB had been saved to, after a crash. + ->m_sRealFileURL then is the URL of the document which actually had + been recovered. + */ + ::rtl::OUString m_sRealFileURL; + // <properties> ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > m_xNumberFormatsSupplier; @@ -365,6 +379,13 @@ // disposes all elements in m_aStorages, and clears it void disposeStorages() SAL_THROW(()); + + /// creates a ->com::sun::star::embed::StorageFactory + ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > + createStorageFactory() const; + + /// commits our storage + void commitRootStorage(); void clearConnections(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
