summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-03-16 08:34:22 +0000
committerFrank Schönheit <fs@openoffice.org>2001-03-16 08:34:22 +0000
commit42baf2ca6955998529f6dfa2fc0506fcc40b405e (patch)
tree266c9f2db1c0418159c34b5d765d4ebebd8e9296 /connectivity
parent4d080da3c37b8288fb97405cdb4a35d716b51614 (diff)
IsUnique is bool, not int
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/adabas/BIndexes.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/adabas/BIndexes.cxx b/connectivity/source/drivers/adabas/BIndexes.cxx
index d55bf5fda514..66772496ecd4 100644
--- a/connectivity/source/drivers/adabas/BIndexes.cxx
+++ b/connectivity/source/drivers/adabas/BIndexes.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: BIndexes.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: fs $ $Date: 2001-03-15 08:01:38 $
+ * last change: $Author: fs $ $Date: 2001-03-16 09:34:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -154,7 +154,7 @@ void SAL_CALL OIndexes::appendByDescriptor( const Reference< XPropertySet >& des
::rtl::OUString aQuote = m_pTable->getConnection()->getMetaData()->getIdentifierQuoteString( );
::rtl::OUString aDot = ::rtl::OUString::createFromAscii(".");
- if(getINT32(descriptor->getPropertyValue(PROPERTY_ISUNIQUE)))
+ if(getBOOL(descriptor->getPropertyValue(PROPERTY_ISUNIQUE)))
aSql = aSql + ::rtl::OUString::createFromAscii("UNIQUE ");
aSql = aSql + ::rtl::OUString::createFromAscii("INDEX ");