Tag: cws_src680_dba202d User: oj Date: 05/12/27 04:54:27 Modified: /dba/dbaccess/source/ui/app/ AppController.cxx
Log: #i45749# only commit connection when metadata says it is not read only File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.24&r2=1.24.24.1 Delta lines: +4 -4 ------------------- --- AppController.cxx 24 Oct 2005 08:30:07 -0000 1.24 +++ AppController.cxx 27 Dec 2005 12:54:25 -0000 1.24.24.1 @@ -4,9 +4,9 @@ * * $RCSfile: AppController.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.24.24.1 $ * - * last change: $Author: rt $ $Date: 2005/10/24 08:30:07 $ + * last change: $Author: oj $ $Date: 2005/12/27 12:54:25 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -363,7 +363,7 @@ { // temporary (hopefully!) hack for #i55274# Reference< XFlushable > xFlush( m_xDataSourceConnection, UNO_QUERY ); - if ( xFlush.is() ) + if ( xFlush.is() && m_xMetaData.is() && !m_xMetaData->isReadOnly() ) xFlush->flush(); } catch( const Exception& e ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
