Tag: cws_src680_dba28 User: fs Date: 05/03/24 07:51:01 Modified: /dba/dbaccess/source/core/dataaccess/ ModelImpl.cxx, ModelImpl.hxx
Log: #i45314# commitStorage -> commitRootStorage for less confusion File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: ModelImpl.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/ModelImpl.cxx?r1=1.2.8.2&r2=1.2.8.3 Delta lines: +7 -7 ------------------- --- ModelImpl.cxx 23 Mar 2005 14:46:17 -0000 1.2.8.2 +++ ModelImpl.cxx 24 Mar 2005 15:50:58 -0000 1.2.8.3 @@ -2,9 +2,9 @@ * * $RCSfile: ModelImpl.cxx,v $ * - * $Revision: 1.2.8.2 $ + * $Revision: 1.2.8.3 $ * - * last change: $Author: fs $ $Date: 2005/03/23 14:46:17 $ + * last change: $Author: fs $ $Date: 2005/03/24 15:50:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -303,7 +303,7 @@ } if ( bStore ) - commitStorage(); + commitRootStorage(); } else // storage { @@ -365,7 +365,7 @@ sal_Bool bStore = commitEmbeddedStorage(); disposeStorages(); if ( bStore ) - commitStorage(); + commitRootStorage(); if ( m_bOwnStorage ) ::comphelper::disposeComponent(m_xStorage); @@ -428,18 +428,18 @@ ); } // ----------------------------------------------------------------------------- -void ODatabaseModelImpl::commitStorage() +void ODatabaseModelImpl::commitRootStorage() { try { Reference< XTransactedObject > xTransact( getStorage(), UNO_QUERY ); - OSL_ENSURE( xTransact.is() || !getStorage().is(), "ODatabaseModelImpl::commitStorage: cannot commit the storage (missing interface)!" ); + OSL_ENSURE( xTransact.is() || !getStorage().is(), "ODatabaseModelImpl::commitRootStorage: cannot commit the storage (missing interface)!" ); if ( xTransact.is() ) xTransact->commit(); } catch(Exception) { - OSL_ENSURE( false, "ODatabaseModelImpl::commitStorage: caught an exception!" ); + OSL_ENSURE( false, "ODatabaseModelImpl::commitRootStorage: caught an exception!" ); } } // ----------------------------------------------------------------------------- File [changed]: ModelImpl.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/ModelImpl.hxx?r1=1.2.8.2&r2=1.2.8.3 Delta lines: +3 -3 ------------------- --- ModelImpl.hxx 23 Mar 2005 14:44:47 -0000 1.2.8.2 +++ ModelImpl.hxx 24 Mar 2005 15:50:58 -0000 1.2.8.3 @@ -2,9 +2,9 @@ * * $RCSfile: ModelImpl.hxx,v $ * - * $Revision: 1.2.8.2 $ + * $Revision: 1.2.8.3 $ * - * last change: $Author: fs $ $Date: 2005/03/23 14:44:47 $ + * last change: $Author: fs $ $Date: 2005/03/24 15:50:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -377,7 +377,7 @@ createStorageFactory() const; /// commits our storage - void commitStorage(); + void commitRootStorage(); void clearConnections(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
