From 5c459f8330970157ffd54dd9ee7398c16c081a3e Mon Sep 17 00:00:00 2001 From: Hans-Joachim Lankenau Date: Fri, 25 Jun 2004 17:29:35 +0000 Subject: INTEGRATION: CWS mozab04 (1.2.182); FILE MERGED 2004/04/05 09:54:42 windly 1.2.182.1: #i20338# Read and Write access to Address Books --- connectivity/source/drivers/mozab/MResultSetMetaData.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'connectivity/source/drivers/mozab/MResultSetMetaData.cxx') diff --git a/connectivity/source/drivers/mozab/MResultSetMetaData.cxx b/connectivity/source/drivers/mozab/MResultSetMetaData.cxx index 9990907396d3..a70ace393a13 100644 --- a/connectivity/source/drivers/mozab/MResultSetMetaData.cxx +++ b/connectivity/source/drivers/mozab/MResultSetMetaData.cxx @@ -2,9 +2,9 @@ * * $RCSfile: MResultSetMetaData.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: oj $ $Date: 2001-11-26 13:51:14 $ + * last change: $Author: hjs $ $Date: 2004-06-25 18:29:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -215,7 +215,7 @@ sal_Bool SAL_CALL OResultSetMetaData::isReadOnly( sal_Int32 column ) throw(SQLEx sal_Bool bReadOnly = (*m_xColumns)[column-1]->getPropertySetInfo()->hasPropertyByName(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_FUNCTION)) && ::cppu::any2bool((*m_xColumns)[column-1]->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_FUNCTION))); - return bReadOnly || m_pTable->isReadOnly(); + return m_bReadOnly || bReadOnly || m_pTable->isReadOnly(); } // ------------------------------------------------------------------------- -- cgit