diff options
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/resultsetmetadata.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ucbhelper/source/provider/resultsetmetadata.cxx b/ucbhelper/source/provider/resultsetmetadata.cxx index 0b84e84993d7..5a6d651a8a48 100644 --- a/ucbhelper/source/provider/resultsetmetadata.cxx +++ b/ucbhelper/source/provider/resultsetmetadata.cxx @@ -151,18 +151,14 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnCount() // virtual -sal_Bool SAL_CALL ResultSetMetaData::isAutoIncrement( sal_Int32 column ) +sal_Bool SAL_CALL ResultSetMetaData::isAutoIncrement( sal_Int32 /*column*/ ) throw( SQLException, RuntimeException, std::exception ) { /* Checks whether column is automatically numbered, which makes it read-only. */ - - if ( ( column < 1 ) || ( column > m_aProps.getLength() ) ) - return false; - - return m_pImpl->m_aColumnData[ column - 1 ].isAutoIncrement; + return false; } |