Kaydet (Commit) 02b5c60e authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS dba22b (1.10.50); FILE MERGED

2006/12/05 09:31:47 fs 1.10.50.1: #i72252# isDataSourcePropertyEnabled -> getBooleanDataSourceSetting
üst de1d0de2
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: TIndexes.cxx,v $ * $RCSfile: TIndexes.cxx,v $
* *
* $Revision: 1.10 $ * $Revision: 1.11 $
* *
* last change: $Author: obo $ $Date: 2006-09-17 02:00:00 $ * last change: $Author: vg $ $Date: 2007-01-15 13:32:48 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -186,7 +186,7 @@ sdbcx::ObjectType OIndexesHelper::appendObject( const ::rtl::OUString& _rForName ...@@ -186,7 +186,7 @@ sdbcx::ObjectType OIndexesHelper::appendObject( const ::rtl::OUString& _rForName
Reference<XColumnsSupplier> xColumnSup(descriptor,UNO_QUERY); Reference<XColumnsSupplier> xColumnSup(descriptor,UNO_QUERY);
Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY); Reference<XIndexAccess> xColumns(xColumnSup->getColumns(),UNO_QUERY);
Reference< XPropertySet > xColProp; Reference< XPropertySet > xColProp;
sal_Bool bAddIndexAppendix = ::dbtools::isDataSourcePropertyEnabled(m_pTable->getConnection(),::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AddIndexAppendix")),sal_True); sal_Bool bAddIndexAppendix = ::dbtools::getBooleanDataSourceSetting( m_pTable->getConnection(), "AddIndexAppendix" );
sal_Int32 nCount = xColumns->getCount(); sal_Int32 nCount = xColumns->getCount();
for(sal_Int32 i = 0 ; i < nCount; ++i) for(sal_Int32 i = 0 ; i < nCount; ++i)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment