Tag: cws_src680_dba24d
User: oj      
Date: 2007-11-27 08:23:20+0000
Modified:
   dba/dbaccess/source/core/api/RowSetCache.cxx

Log:
 #151645# check also the XRowLocate interface

File Changes:

Directory: /dba/dbaccess/source/core/api/
=========================================

File [changed]: RowSetCache.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSetCache.cxx?r1=1.94&r2=1.94.86.1
Delta lines:  +4 -4
-------------------
--- RowSetCache.cxx     2007-05-10 10:11:18+0000        1.94
+++ RowSetCache.cxx     2007-11-27 08:23:17+0000        1.94.86.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: RowSetCache.cxx,v $
  *
- *  $Revision: 1.94 $
+ *  $Revision: 1.94.86.1 $
  *
- *  last change: $Author: kz $ $Date: 2007/05/10 10:11:18 $
+ *  last change: $Author: oj $ $Date: 2007/11/27 08:23:17 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -251,7 +251,7 @@
        Reference< XPropertySet> xProp(_xRs,UNO_QUERY);
 
        sal_Bool bNeedKeySet = 
!(xProp->getPropertySetInfo()->hasPropertyByName(PROPERTY_ISBOOKMARKABLE) &&
-                                                        
any2bool(xProp->getPropertyValue(PROPERTY_ISBOOKMARKABLE)));
+                                                        
any2bool(xProp->getPropertyValue(PROPERTY_ISBOOKMARKABLE)) && Reference< 
XRowLocate >(_xRs, UNO_QUERY).is() );
        bNeedKeySet = bNeedKeySet || 
(xProp->getPropertySetInfo()->hasPropertyByName(PROPERTY_RESULTSETCONCURRENCY) 
&&
                                                        
::comphelper::getINT32(xProp->getPropertyValue(PROPERTY_RESULTSETCONCURRENCY)) 
== ResultSetConcurrency::READ_ONLY);
 




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

Reply via email to