Tag: cws_src680_dba202d
User: oj      
Date: 05/12/27 04:53:04

Modified:
 /dba/dbaccess/source/core/dataaccess/
  ModelImpl.cxx

Log:
 #i45749# only commit storage when in write mode

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.9&r2=1.9.24.1
Delta lines:  +4 -8
-------------------
--- ModelImpl.cxx       24 Oct 2005 08:28:12 -0000      1.9
+++ ModelImpl.cxx       27 Dec 2005 12:53:00 -0000      1.9.24.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: ModelImpl.cxx,v $
  *
- *  $Revision: 1.9 $
+ *  $Revision: 1.9.24.1 $
  *
- *  last change: $Author: rt $ $Date: 2005/10/24 08:28:12 $
+ *  last change: $Author: oj $ $Date: 2005/12/27 12:53:00 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -730,11 +730,7 @@
        {
                TStorages::iterator aFind = 
m_aStorages.find(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("database")));
                if ( aFind != m_aStorages.end() )
-               {
-                       Reference<XTransactedObject> 
xTrans(aFind->second,UNO_QUERY);
-                       if ( bStore = xTrans.is() )
-                               xTrans->commit();
-               }
+                       bStore = commitStorageIfWriteable(aFind->second);
        }
        catch(Exception&)
        {




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to