Tag: cws_src680_dba28 User: fs Date: 05/03/24 07:51:42 Modified: /dba/dbaccess/source/core/dataaccess/ databasedocument.cxx
Log: #i45314# commit the rootStorage in store(String,...) - this got lost during the previous change File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: databasedocument.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.cxx?r1=1.14.8.2&r2=1.14.8.3 Delta lines: +6 -5 ------------------- --- databasedocument.cxx 23 Mar 2005 14:48:50 -0000 1.14.8.2 +++ databasedocument.cxx 24 Mar 2005 15:51:40 -0000 1.14.8.3 @@ -2,9 +2,9 @@ * * $RCSfile: databasedocument.cxx,v $ * - * $Revision: 1.14.8.2 $ + * $Revision: 1.14.8.3 $ * - * last change: $Author: fs $ $Date: 2005/03/23 14:48:50 $ + * last change: $Author: fs $ $Date: 2005/03/24 15:51:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -517,6 +517,8 @@ writeStorage(_rURL,_rArguments,m_pImpl->getStorage()); + m_pImpl->commitRootStorage(); + setModified(sal_False); } // ----------------------------------------------------------------------------- @@ -837,8 +839,7 @@ Reference<XSeekable> xSeek(xStreamProp,UNO_QUERY); if ( xSeek.is() ) { - sal_Int64 nPos = xSeek->getPosition(); - OSL_TRACE("Length of stream %d",&nPos); + OSL_TRACE("Length of stream %i",(int)xSeek->getPosition()); xSeek->seek(0); } @@ -1204,7 +1205,7 @@ Reference<XStorage> xStorage(aEvent.Source,UNO_QUERY); if ( aFind != m_pImpl->m_aStorages.end() && aFind->second == xStorage ) { - m_pImpl->commitStorage(); + m_pImpl->commitRootStorage(); } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
