diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-11-29 17:18:30 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-11-29 17:32:29 +0000 |
commit | 4cc501d8173373e9656ae5e568b43e3cb90587e7 (patch) | |
tree | 1e45eb979498f83543bd9bcc8efa1a256c5888d2 | |
parent | dd750cf42b308cdbf48ebd54fdd6f4fa0865b91a (diff) |
WaE: sizeable postgresql warning cleanup
16 files changed, 118 insertions, 94 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_array.cxx b/connectivity/source/drivers/postgresql/pq_array.cxx index dcccd801f0d7..5158d9bdc59b 100644 --- a/connectivity/source/drivers/postgresql/pq_array.cxx +++ b/connectivity/source/drivers/postgresql/pq_array.cxx @@ -88,7 +88,7 @@ sal_Int32 Array::getBaseType( ) } ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > Array::getArray( - const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) + const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& /* typeMap */ ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { return m_data; @@ -97,7 +97,7 @@ sal_Int32 Array::getBaseType( ) ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > Array::getArrayAtIndex( sal_Int32 index, sal_Int32 count, - const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) + const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& /* typeMap */ ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { checkRange( index, count ); @@ -114,7 +114,7 @@ sal_Int32 Array::getBaseType( ) ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > Array::getResultSetAtIndex( sal_Int32 index, sal_Int32 count, - const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) + const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& /* typeMap */ ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { checkRange( index, count ); diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx index 5c5bee561ff8..8318080dc95a 100644 --- a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx +++ b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx @@ -583,39 +583,39 @@ Sequence< sal_Int8 > BaseResultSet::getBytes( sal_Int32 columnIndex ) } // LEM TODO: these look like they are missing an actual implementation -Reference< ::com::sun::star::io::XInputStream > BaseResultSet::getBinaryStream( sal_Int32 columnIndex ) +Reference< ::com::sun::star::io::XInputStream > BaseResultSet::getBinaryStream( sal_Int32 /* columnIndex */ ) throw (SQLException, RuntimeException) { return 0; } -Reference< ::com::sun::star::io::XInputStream > BaseResultSet::getCharacterStream( sal_Int32 columnIndex ) +Reference< ::com::sun::star::io::XInputStream > BaseResultSet::getCharacterStream( sal_Int32 /* columnIndex */ ) throw (SQLException, RuntimeException) { return 0; } Any BaseResultSet::getObject( - sal_Int32 columnIndex, - const Reference< ::com::sun::star::container::XNameAccess >& typeMap ) + sal_Int32 /* columnIndex */, + const Reference< ::com::sun::star::container::XNameAccess >& /* typeMap */ ) throw (SQLException, RuntimeException) { return Any(); } -Reference< ::com::sun::star::sdbc::XRef > BaseResultSet::getRef( sal_Int32 columnIndex ) +Reference< ::com::sun::star::sdbc::XRef > BaseResultSet::getRef( sal_Int32 /* columnIndex */ ) throw (SQLException, RuntimeException) { return Reference< com::sun::star::sdbc::XRef > (); } -Reference< ::com::sun::star::sdbc::XBlob > BaseResultSet::getBlob( sal_Int32 columnIndex ) +Reference< ::com::sun::star::sdbc::XBlob > BaseResultSet::getBlob( sal_Int32 /* columnIndex */ ) throw (SQLException, RuntimeException) { return Reference< com::sun::star::sdbc::XBlob > (); } -Reference< ::com::sun::star::sdbc::XClob > BaseResultSet::getClob( sal_Int32 columnIndex ) +Reference< ::com::sun::star::sdbc::XClob > BaseResultSet::getClob( sal_Int32 /* columnIndex */ ) throw (SQLException, RuntimeException) { return Reference< com::sun::star::sdbc::XClob > (); @@ -627,15 +627,13 @@ Reference< ::com::sun::star::sdbc::XArray > BaseResultSet::getArray( sal_Int32 c return new Array( m_refMutex, parseArray( getString( columnIndex ) ), *this, m_tc ); } - ::cppu::IPropertyArrayHelper & BaseResultSet::getInfoHelper() { return getResultSetPropertyArrayHelper(); } - sal_Bool BaseResultSet::convertFastPropertyValue( - Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, const Any& rValue ) + Any & /* rConvertedValue */, Any & /* rOldValue */, sal_Int32 nHandle, const Any& rValue ) throw (IllegalArgumentException) { sal_Bool bRet; diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx index b4171d868047..bf30c779ecc5 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.cxx +++ b/connectivity/source/drivers/postgresql/pq_connection.cxx @@ -296,7 +296,7 @@ void Connection::removeFromWeakMap( const ::rtl::ByteSequence & id ) m_myStatements.erase( ii ); } -Reference< XStatement > Connection::createStatement( ) throw (SQLException, RuntimeException) +Reference< XStatement > Connection::createStatement() throw (SQLException, RuntimeException) { MutexGuard guard( m_refMutex->mutex ); checkClosed(); @@ -327,7 +327,7 @@ Reference< XPreparedStatement > Connection::prepareStatement( const ::rtl::OUStr return ret; } -Reference< XPreparedStatement > Connection::prepareCall( const ::rtl::OUString& sql ) +Reference< XPreparedStatement > Connection::prepareCall( const ::rtl::OUString& ) throw (SQLException, RuntimeException) { throw SQLException( @@ -343,33 +343,33 @@ Reference< XPreparedStatement > Connection::prepareCall( const ::rtl::OUString& return sql; } -void Connection::setAutoCommit( sal_Bool autoCommit ) throw (SQLException, RuntimeException) +void Connection::setAutoCommit( sal_Bool ) throw (SQLException, RuntimeException) { // UNSUPPORTED } -sal_Bool Connection::getAutoCommit( ) throw (SQLException, RuntimeException) +sal_Bool Connection::getAutoCommit() throw (SQLException, RuntimeException) { // UNSUPPORTED return sal_True; } -void Connection::commit( ) throw (SQLException, RuntimeException) +void Connection::commit() throw (SQLException, RuntimeException) { // UNSUPPORTED } -void Connection::rollback( ) throw (SQLException, RuntimeException) +void Connection::rollback() throw (SQLException, RuntimeException) { // UNSUPPORTED } -sal_Bool Connection::isClosed( ) throw (SQLException, RuntimeException) +sal_Bool Connection::isClosed() throw (SQLException, RuntimeException) { return m_settings.pConnection == 0; } -Reference< XDatabaseMetaData > Connection::getMetaData( ) +Reference< XDatabaseMetaData > Connection::getMetaData() throw (SQLException, RuntimeException) { MutexGuard guard( m_refMutex->mutex ); @@ -379,25 +379,25 @@ Reference< XDatabaseMetaData > Connection::getMetaData( ) return m_meta; } -void Connection::setReadOnly( sal_Bool readOnly ) throw (SQLException, RuntimeException) +void Connection::setReadOnly( sal_Bool ) throw (SQLException, RuntimeException) { // UNSUPPORTED } -sal_Bool Connection::isReadOnly( ) throw (SQLException, RuntimeException) +sal_Bool Connection::isReadOnly() throw (SQLException, RuntimeException) { // UNSUPPORTED return sal_False; } -void Connection::setCatalog( const ::rtl::OUString& catalog ) +void Connection::setCatalog( const ::rtl::OUString& ) throw (SQLException, RuntimeException) { // UNSUPPORTED } -::rtl::OUString Connection::getCatalog( ) throw (SQLException, RuntimeException) +::rtl::OUString Connection::getCatalog() throw (SQLException, RuntimeException) { OUString ret; MutexGuard ( m_refMutex->mutex ); @@ -410,19 +410,19 @@ void Connection::setCatalog( const ::rtl::OUString& catalog ) return OUString( p, strlen(p) , m_settings.encoding ); } -void Connection::setTransactionIsolation( sal_Int32 level ) +void Connection::setTransactionIsolation( sal_Int32 ) throw (SQLException, RuntimeException) { // UNSUPPORTED } -sal_Int32 Connection::getTransactionIsolation( ) throw (SQLException, RuntimeException) +sal_Int32 Connection::getTransactionIsolation() throw (SQLException, RuntimeException) { // UNSUPPORTED return 0; } -Reference< XNameAccess > Connection::getTypeMap( ) throw (SQLException, RuntimeException) +Reference< XNameAccess > Connection::getTypeMap() throw (SQLException, RuntimeException) { Reference< XNameAccess > t; { @@ -438,12 +438,12 @@ void Connection::setTypeMap( const Reference< XNameAccess >& typeMap ) MutexGuard guard( m_refMutex->mutex ); m_typeMap = typeMap; } -Any Connection::getWarnings( ) throw (SQLException, RuntimeException) +Any Connection::getWarnings() throw (SQLException, RuntimeException) { return Any(); } -void Connection::clearWarnings( ) throw (SQLException, RuntimeException) +void Connection::clearWarnings() throw (SQLException, RuntimeException) { } @@ -668,7 +668,7 @@ void Connection::checkClosed() throw ( SQLException, RuntimeException ) *this, OUString(), 1, Any() ); } -Reference< XNameAccess > Connection::getTables( ) +Reference< XNameAccess > Connection::getTables() throw (::com::sun::star::uno::RuntimeException) { if( isLog( &m_settings, LogLevel::INFO ) ) @@ -684,7 +684,7 @@ Reference< XNameAccess > Connection::getTables( ) return m_settings.tables; } -Reference< XNameAccess > Connection::getViews( ) +Reference< XNameAccess > Connection::getViews() throw (::com::sun::star::uno::RuntimeException) { if( isLog( &m_settings, LogLevel::INFO ) ) @@ -702,7 +702,7 @@ Reference< XNameAccess > Connection::getViews( ) -Reference< XNameAccess > Connection::getUsers( ) +Reference< XNameAccess > Connection::getUsers() throw (::com::sun::star::uno::RuntimeException) { if( isLog( &m_settings, LogLevel::INFO ) ) @@ -786,7 +786,7 @@ extern "C" //================================================================================================== void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) + const sal_Char ** ppEnvTypeName, uno_Environment ** ) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx index d2a06846609b..24cc8e0ab510 100644 --- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx +++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx @@ -654,6 +654,7 @@ sal_Bool DatabaseMetaData::supportsTypeConversion( ) throw (SQLException, Runti sal_Bool DatabaseMetaData::supportsConvert( sal_Int32 fromType, sal_Int32 toType ) throw (SQLException, RuntimeException) { + (void) fromType; (void) toType; return sal_False; } @@ -1128,6 +1129,7 @@ sal_Bool DatabaseMetaData::dataDefinitionIgnoredInTransactions( ) throw (SQLExc const OUString& schemaPattern, const OUString& procedureNamePattern ) throw (SQLException, RuntimeException) { + (void) catalog; (void) schemaPattern; (void) procedureNamePattern; // 1. PROCEDURE_CAT string => procedure catalog (may be NULL ) // 2. PROCEDURE_SCHEM string => procedure schema (may be NULL ) // 3. PROCEDURE_NAME string => procedure name @@ -1154,6 +1156,7 @@ sal_Bool DatabaseMetaData::dataDefinitionIgnoredInTransactions( ) throw (SQLExc const OUString& procedureNamePattern, const OUString& columnNamePattern ) throw (SQLException, RuntimeException) { + (void) catalog; (void) schemaPattern; (void) procedureNamePattern; (void) columnNamePattern; MutexGuard guard( m_refMutex->mutex ); checkClosed(); // LEM TODO: implement @@ -1169,6 +1172,7 @@ sal_Bool DatabaseMetaData::dataDefinitionIgnoredInTransactions( ) throw (SQLExc const ::com::sun::star::uno::Sequence< OUString >& types ) throw (SQLException, RuntimeException) { + (void) catalog; (void) types; Statics &statics = getStatics(); MutexGuard guard( m_refMutex->mutex ); @@ -1502,6 +1506,7 @@ static void columnMetaData2DatabaseTypeDescription( const OUString& tableNamePattern, const OUString& columnNamePattern ) throw (SQLException, RuntimeException) { + (void) catalog; // LEM TODO: review in comparison with JDBC driver // OK, confirmed it does not return consecutive values in ORDINAL_POSITION; needs to be fixed. Statics &statics = getStatics(); @@ -1675,6 +1680,7 @@ static void columnMetaData2DatabaseTypeDescription( const OUString& table, const OUString& columnNamePattern ) throw (SQLException, RuntimeException) { + (void) catalog; (void) schema; (void) table; (void) columnNamePattern; //LEM TODO: implement! See JDBC driver // In the meantime, maybe better to throw exception SQLException with // SQLState == "IM001" @@ -1689,6 +1695,7 @@ static void columnMetaData2DatabaseTypeDescription( const OUString& schemaPattern, const OUString& tableNamePattern ) throw (SQLException, RuntimeException) { + (void) catalog; MutexGuard guard( m_refMutex->mutex ); checkClosed(); @@ -1759,6 +1766,7 @@ static void columnMetaData2DatabaseTypeDescription( sal_Int32 scope, sal_Bool nullable ) throw (SQLException, RuntimeException) { + (void) catalog; (void) schema; (void) table; (void) scope; (void) nullable; //LEM TODO: implement! See JDBC driver MutexGuard guard( m_refMutex->mutex ); checkClosed(); @@ -1771,6 +1779,7 @@ static void columnMetaData2DatabaseTypeDescription( const OUString& schema, const OUString& table ) throw (SQLException, RuntimeException) { + (void) catalog; (void) schema; (void) table; //LEM TODO: implement! See JDBC driver MutexGuard guard( m_refMutex->mutex ); checkClosed(); @@ -1783,6 +1792,7 @@ static void columnMetaData2DatabaseTypeDescription( const OUString& schema, const OUString& table ) throw (SQLException, RuntimeException) { + (void) catalog; //LEM TODO: review MutexGuard guard( m_refMutex->mutex ); checkClosed(); @@ -2065,10 +2075,10 @@ void DatabaseMetaData::init_getReferences_stmt () } ::com::sun::star::uno::Reference< XResultSet > DatabaseMetaData::getImportedExportedKeys( - const Any& primaryCatalog, + const Any& /* primaryCatalog */, const OUString& primarySchema, const OUString& primaryTable, - const Any& foreignCatalog, + const Any& /* foreignCatalog */, const OUString& foreignSchema, const OUString& foreignTable ) throw (SQLException, RuntimeException) { @@ -2285,6 +2295,7 @@ static void pgTypeInfo2ResultSet( row[MINIMUM_SCALE] <<= ASCII_STR( "0" ); // TODO: what is this ? row[MAXIMUM_SCALE] <<= OUString::valueOf( getMaxScale( dataType ) ); row[NUM_PREC_RADIX] <<= ASCII_STR( "10" ); // TODO: what is this ? + (void)FIXED_PREC_SCALE; vec.push_back( row ); } @@ -2364,6 +2375,7 @@ static sal_Int32 seqContains( const Sequence< sal_Int32 > &seq, sal_Int32 value sal_Bool unique, sal_Bool approximate ) throw (SQLException, RuntimeException) { + (void) catalog; (void) approximate; //LEM TODO: review MutexGuard guard( m_refMutex->mutex ); checkClosed(); @@ -2451,6 +2463,7 @@ static sal_Int32 seqContains( const Sequence< sal_Int32 > &seq, sal_Int32 value OUString currentIndexName = xRow->getString( C_INDEXNAME ); sal_Bool isNonUnique = ! xRow->getBoolean( C_IS_UNIQUE ); sal_Bool isPrimary = xRow->getBoolean( C_IS_PRIMARY ); + (void)isPrimary; sal_Int32 indexType = xRow->getBoolean( C_IS_CLUSTERED ) ? com::sun::star::sdbc::IndexType::CLUSTERED : com::sun::star::sdbc::IndexType::HASHED; @@ -2497,52 +2510,53 @@ sal_Bool DatabaseMetaData::supportsResultSetType( sal_Int32 setType ) sal_Bool DatabaseMetaData::supportsResultSetConcurrency( sal_Int32 setType, sal_Int32 concurrency ) throw (SQLException, RuntimeException) { + (void) concurrency; if ( ! supportsResultSetType( setType ) ) return sal_False; else return sal_True; } -sal_Bool DatabaseMetaData::ownUpdatesAreVisible( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::ownUpdatesAreVisible( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_True; } -sal_Bool DatabaseMetaData::ownDeletesAreVisible( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::ownDeletesAreVisible( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_True; } -sal_Bool DatabaseMetaData::ownInsertsAreVisible( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::ownInsertsAreVisible( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_True; } -sal_Bool DatabaseMetaData::othersUpdatesAreVisible( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::othersUpdatesAreVisible( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_False; } -sal_Bool DatabaseMetaData::othersDeletesAreVisible( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::othersDeletesAreVisible( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_False; } -sal_Bool DatabaseMetaData::othersInsertsAreVisible( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::othersInsertsAreVisible( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_False; } -sal_Bool DatabaseMetaData::updatesAreDetected( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::updatesAreDetected( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_False; } -sal_Bool DatabaseMetaData::deletesAreDetected( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::deletesAreDetected( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_False; } -sal_Bool DatabaseMetaData::insertsAreDetected( sal_Int32 setType ) throw (SQLException, RuntimeException) +sal_Bool DatabaseMetaData::insertsAreDetected( sal_Int32 /* setType */ ) throw (SQLException, RuntimeException) { return sal_False; } @@ -2554,6 +2568,7 @@ sal_Bool DatabaseMetaData::supportsBatchUpdates( ) throw (SQLException, Runtime ::com::sun::star::uno::Reference< XResultSet > DatabaseMetaData::getUDTs( const ::com::sun::star::uno::Any& catalog, const OUString& schemaPattern, const OUString& typeNamePattern, const ::com::sun::star::uno::Sequence< sal_Int32 >& types ) throw (SQLException, RuntimeException) { + (void) catalog; (void) schemaPattern; (void) typeNamePattern; (void) types; //LEM TODO: implement! See JDBC driver MutexGuard guard( m_refMutex->mutex ); checkClosed(); diff --git a/connectivity/source/drivers/postgresql/pq_driver.cxx b/connectivity/source/drivers/postgresql/pq_driver.cxx index 42612838d0bb..146fe99a4fab 100644 --- a/connectivity/source/drivers/postgresql/pq_driver.cxx +++ b/connectivity/source/drivers/postgresql/pq_driver.cxx @@ -152,6 +152,7 @@ Sequence< DriverPropertyInfo > Driver::getPropertyInfo( const OUString& url,const Sequence< PropertyValue >& info ) throw (SQLException, RuntimeException) { + (void)url; (void)info; return Sequence< DriverPropertyInfo > (); } @@ -282,6 +283,7 @@ Reference< XInterface > OOneInstanceComponentFactory::createInstanceWithArgument Sequence< Any > const &rArguments, const Reference< XComponentContext > & ctx ) throw( RuntimeException, Exception ) { + (void)rArguments; return createInstanceWithContext( ctx ); } @@ -344,7 +346,7 @@ extern "C" //================================================================================================== void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) + const sal_Char ** ppEnvTypeName, uno_Environment ** ) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } @@ -356,7 +358,7 @@ sal_Bool SAL_CALL component_writeInfo( } //================================================================================================== void * SAL_CALL component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) + const sal_Char * pImplName, void * pServiceManager, void * ) { // need to extract the defaultcontext, because the way, sdbc // bypasses the servicemanager, does not allow to use the diff --git a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx index 7dd781141787..1c413d9d2f61 100644 --- a/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx +++ b/connectivity/source/drivers/postgresql/pq_fakedupdateableresultset.cxx @@ -175,87 +175,87 @@ void FakedUpdateableResultSet::moveToCurrentRow( ) throw (SQLException, Runtime } -void FakedUpdateableResultSet::updateNull( sal_Int32 columnIndex ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateNull( sal_Int32 /* columnIndex */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateBoolean( sal_Int32 columnIndex, sal_Bool x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateBoolean( sal_Int32 /* columnIndex */, sal_Bool /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateByte( sal_Int32 columnIndex, sal_Int8 x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateByte( sal_Int32 /* columnIndex */, sal_Int8 /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateShort( sal_Int32 columnIndex, sal_Int16 x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateShort( sal_Int32 /* columnIndex */, sal_Int16 /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateInt( sal_Int32 columnIndex, sal_Int32 x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateInt( sal_Int32 /* columnIndex */, sal_Int32 /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateLong( sal_Int32 columnIndex, sal_Int64 x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateLong( sal_Int32 /* columnIndex */, sal_Int64 /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateFloat( sal_Int32 columnIndex, float x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateFloat( sal_Int32 /* columnIndex */, float /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateDouble( sal_Int32 columnIndex, double x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateDouble( sal_Int32 /* columnIndex */, double /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateString( sal_Int32 columnIndex, const ::rtl::OUString& x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateString( sal_Int32 /* columnIndex */, const ::rtl::OUString& /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateBytes( sal_Int32 columnIndex, const ::com::sun::star::uno::Sequence< sal_Int8 >& x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateBytes( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Sequence< sal_Int8 >& /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateDate( sal_Int32 columnIndex, const ::com::sun::star::util::Date& x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateDate( sal_Int32 /* columnIndex */, const ::com::sun::star::util::Date& /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateTime( sal_Int32 columnIndex, const ::com::sun::star::util::Time& x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateTime( sal_Int32 /* columnIndex */, const ::com::sun::star::util::Time& /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateTimestamp( sal_Int32 columnIndex, const ::com::sun::star::util::DateTime& x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateTimestamp( sal_Int32 /* columnIndex */, const ::com::sun::star::util::DateTime& /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateBinaryStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateBinaryStream( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& /* x */, sal_Int32 /* length */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateCharacterStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateCharacterStream( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& /* x */, sal_Int32 /* length */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateObject( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Any& /* x */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } -void FakedUpdateableResultSet::updateNumericObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x, sal_Int32 scale ) throw (SQLException, RuntimeException) +void FakedUpdateableResultSet::updateNumericObject( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Any& /* x */, sal_Int32 /* scale */ ) throw (SQLException, RuntimeException) { throw SQLException( m_aReason, *this, OUString(),1,Any() ); } diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx index 118ca5e13ca0..b900c0f8333d 100644 --- a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx +++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx @@ -476,6 +476,7 @@ Reference< XConnection > PreparedStatement::getConnection( ) void PreparedStatement::setNull( sal_Int32 parameterIndex, sal_Int32 sqlType ) throw (SQLException, RuntimeException) { + (void)sqlType; MutexGuard guard( m_refMutex->mutex ); checkClosed(); checkColumnIndex( parameterIndex ); @@ -486,6 +487,7 @@ void PreparedStatement::setObjectNull( sal_Int32 parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& typeName ) throw (SQLException, RuntimeException) { + (void) sqlType; (void) typeName; MutexGuard guard( m_refMutex->mutex ); checkClosed(); checkColumnIndex( parameterIndex ); @@ -638,6 +640,7 @@ void PreparedStatement::setBinaryStream( sal_Int32 length ) throw (SQLException, RuntimeException) { + (void) parameterIndex; (void)x; (void) length; throw SQLException( ASCII_STR( "pq_preparedstatement: setBinaryStream not implemented" ), *this, OUString(), 1, Any () ); @@ -649,6 +652,7 @@ void PreparedStatement::setCharacterStream( sal_Int32 length ) throw (SQLException, RuntimeException) { + (void) parameterIndex; (void)x; (void) length; throw SQLException( ASCII_STR( "pq_preparedstatement: setCharacterStream not implemented" ), *this, OUString(), 1, Any () ); @@ -673,6 +677,7 @@ void PreparedStatement::setObjectWithInfo( sal_Int32 scale ) throw (SQLException, RuntimeException) { + (void) scale; if( com::sun::star::sdbc::DataType::DECIMAL == targetSqlType || com::sun::star::sdbc::DataType::NUMERIC == targetSqlType ) { @@ -712,10 +717,10 @@ void PreparedStatement::setRef( const Reference< XRef >& x ) throw (SQLException, RuntimeException) { + (void) parameterIndex; (void)x; throw SQLException( ASCII_STR( "pq_preparedstatement: setRef not implemented" ), *this, OUString(), 1, Any () ); - } void PreparedStatement::setBlob( @@ -723,6 +728,7 @@ void PreparedStatement::setBlob( const Reference< XBlob >& x ) throw (SQLException, RuntimeException) { + (void) parameterIndex; (void)x; throw SQLException( ASCII_STR( "pq_preparedstatement: setBlob not implemented" ), *this, OUString(), 1, Any () ); @@ -733,6 +739,7 @@ void PreparedStatement::setClob( const Reference< XClob >& x ) throw (SQLException, RuntimeException) { + (void) parameterIndex; (void)x; throw SQLException( ASCII_STR( "pq_preparedstatement: setClob not implemented" ), *this, OUString(), 1, Any () ); @@ -744,10 +751,6 @@ void PreparedStatement::setArray( throw (SQLException, RuntimeException) { setString( parameterIndex, array2String( x->getArray( 0 ) ) ); - -// throw SQLException( -// ASCII_STR( "pq_preparedstatement: setArray not implemented" ), -// *this, OUString(), 1, Any () ); } void PreparedStatement::clearParameters( ) diff --git a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx index 2a83623d9890..82ee02c3b1ae 100644 --- a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx +++ b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx @@ -335,12 +335,13 @@ sal_Bool ResultSetMetaData::isAutoIncrement( sal_Int32 column ) sal_Bool ResultSetMetaData::isCaseSensitive( sal_Int32 column ) throw (SQLException, RuntimeException) { - + (void) column; return sal_True; // ??? hmm, numeric types or } sal_Bool ResultSetMetaData::isSearchable( sal_Int32 column ) throw (SQLException, RuntimeException) { + (void) column; return sal_True; // mmm, what types are not searchable ? } @@ -359,7 +360,8 @@ sal_Int32 ResultSetMetaData::isNullable( sal_Int32 column ) sal_Bool ResultSetMetaData::isSigned( sal_Int32 column ) throw (SQLException, RuntimeException) { - return sal_True; // + (void) column; + return sal_True; } sal_Int32 ResultSetMetaData::getColumnDisplaySize( sal_Int32 column ) @@ -388,11 +390,10 @@ sal_Int32 ResultSetMetaData::getColumnDisplaySize( sal_Int32 column ) ::rtl::OUString ResultSetMetaData::getSchemaName( sal_Int32 column ) throw (SQLException, RuntimeException) { + (void) column; return m_schemaName; } - - sal_Int32 ResultSetMetaData::getPrecision( sal_Int32 column ) throw (SQLException, RuntimeException) { @@ -414,6 +415,7 @@ sal_Int32 ResultSetMetaData::getScale( sal_Int32 column ) ::rtl::OUString ResultSetMetaData::getTableName( sal_Int32 column ) throw (SQLException, RuntimeException) { + (void) column; // LEM TODO This is very fishy.. Should probably return the table to which that column belongs! rtl::OUString ret; if( m_tableName.getLength() ) @@ -430,6 +432,7 @@ sal_Int32 ResultSetMetaData::getScale( sal_Int32 column ) ::rtl::OUString ResultSetMetaData::getCatalogName( sal_Int32 column ) throw (SQLException, RuntimeException) { + (void) column; // can do this through XConnection.getCatalog() ! return OUString(); } @@ -477,6 +480,7 @@ sal_Int32 ResultSetMetaData::getColumnType( sal_Int32 column ) sal_Bool ResultSetMetaData::isReadOnly( sal_Int32 column ) throw (SQLException, RuntimeException) { + (void) column; return sal_False; } @@ -494,6 +498,7 @@ sal_Bool ResultSetMetaData::isDefinitelyWritable( sal_Int32 column ) ::rtl::OUString ResultSetMetaData::getColumnServiceName( sal_Int32 column ) throw (SQLException, RuntimeException) { + (void) column; return OUString(); } diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx index b8d5e4aabd70..a538e9e22c90 100644 --- a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx +++ b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx @@ -95,14 +95,14 @@ sal_Bool SequenceResultSetMetaData::isAutoIncrement( sal_Int32 column ) return m_columnData[column-1].isAutoIncrement; } -sal_Bool SequenceResultSetMetaData::isCaseSensitive( sal_Int32 column ) +sal_Bool SequenceResultSetMetaData::isCaseSensitive( sal_Int32 /* column */ ) throw (SQLException, RuntimeException) { return sal_True; // ??? hmm, numeric types or } -sal_Bool SequenceResultSetMetaData::isSearchable( sal_Int32 column ) throw (SQLException, RuntimeException) +sal_Bool SequenceResultSetMetaData::isSearchable( sal_Int32 /* column */ ) throw (SQLException, RuntimeException) { return sal_True; // mmm, what types are not searchable ? } @@ -120,13 +120,13 @@ sal_Int32 SequenceResultSetMetaData::isNullable( sal_Int32 column ) return m_columnData[column-1].isNullable; } -sal_Bool SequenceResultSetMetaData::isSigned( sal_Int32 column ) +sal_Bool SequenceResultSetMetaData::isSigned( sal_Int32 /* column */ ) throw (SQLException, RuntimeException) { - return sal_True; // + return sal_True; } -sal_Int32 SequenceResultSetMetaData::getColumnDisplaySize( sal_Int32 column ) +sal_Int32 SequenceResultSetMetaData::getColumnDisplaySize( sal_Int32 /* column */ ) throw (SQLException, RuntimeException) { return 50; @@ -174,7 +174,7 @@ sal_Int32 SequenceResultSetMetaData::getScale( sal_Int32 column ) return m_columnData[column-1].tableName; } -::rtl::OUString SequenceResultSetMetaData::getCatalogName( sal_Int32 column ) +::rtl::OUString SequenceResultSetMetaData::getCatalogName( sal_Int32 /* column */ ) throw (SQLException, RuntimeException) { // can do this through XConnection.getCatalog() ! @@ -195,7 +195,7 @@ sal_Int32 SequenceResultSetMetaData::getColumnType( sal_Int32 column ) } -sal_Bool SequenceResultSetMetaData::isReadOnly( sal_Int32 column ) +sal_Bool SequenceResultSetMetaData::isReadOnly( sal_Int32 /* column */ ) throw (SQLException, RuntimeException) { return sal_False; @@ -212,13 +212,12 @@ sal_Bool SequenceResultSetMetaData::isDefinitelyWritable( sal_Int32 column ) { return isWritable(column); // uhh, now it becomes really esoteric .... } -::rtl::OUString SequenceResultSetMetaData::getColumnServiceName( sal_Int32 column ) +::rtl::OUString SequenceResultSetMetaData::getColumnServiceName( sal_Int32 /* column */ ) throw (SQLException, RuntimeException) { return OUString(); } - void SequenceResultSetMetaData::checkColumnIndex(sal_Int32 columnIndex) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { diff --git a/connectivity/source/drivers/postgresql/pq_statics.cxx b/connectivity/source/drivers/postgresql/pq_statics.cxx index 81ff74f0e124..935a634a6459 100644 --- a/connectivity/source/drivers/postgresql/pq_statics.cxx +++ b/connectivity/source/drivers/postgresql/pq_statics.cxx @@ -106,13 +106,6 @@ static Sequence< OUString > createStringSequence( const char * name[] ) return seq; } -static Sequence< sal_Int8 > generateImplementationId() -{ - Sequence< sal_Int8 > seq( 16 ); - rtl_createUuid( (sal_uInt8*)seq.getArray(), 0 , sal_False ); - return seq; -} - struct PropertyDef { PropertyDef( const OUString &str, const Type &t ) diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx index 0da4805b27cb..6b9aa2c94a83 100644 --- a/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx +++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.cxx @@ -555,19 +555,19 @@ void UpdateableResultSet::updateTimestamp( sal_Int32 columnIndex, const ::com::s updateString( columnIndex, dateTime2String( x ) ); } -void UpdateableResultSet::updateBinaryStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw (SQLException, RuntimeException) +void UpdateableResultSet::updateBinaryStream( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& /* x */, sal_Int32 /* length */ ) throw (SQLException, RuntimeException) { } -void UpdateableResultSet::updateCharacterStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw (SQLException, RuntimeException) +void UpdateableResultSet::updateCharacterStream( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& /* x */, sal_Int32 /* length */ ) throw (SQLException, RuntimeException) { } -void UpdateableResultSet::updateObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x ) throw (SQLException, RuntimeException) +void UpdateableResultSet::updateObject( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Any& /* x */ ) throw (SQLException, RuntimeException) { } -void UpdateableResultSet::updateNumericObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x, sal_Int32 scale ) throw (SQLException, RuntimeException) +void UpdateableResultSet::updateNumericObject( sal_Int32 /* columnIndex */, const ::com::sun::star::uno::Any& /* x */, sal_Int32 /* scale */ ) throw (SQLException, RuntimeException) { } diff --git a/connectivity/source/drivers/postgresql/pq_xbase.cxx b/connectivity/source/drivers/postgresql/pq_xbase.cxx index fad286c4f3eb..50c557ea1d62 100644 --- a/connectivity/source/drivers/postgresql/pq_xbase.cxx +++ b/connectivity/source/drivers/postgresql/pq_xbase.cxx @@ -261,7 +261,7 @@ void ReflectionBase::copyValuesFrom( const Reference< XPropertySet > & set ) } -void ReflectionBase::setName( const ::rtl::OUString& aName ) +void ReflectionBase::setName( const ::rtl::OUString& /* aName */ ) throw (::com::sun::star::uno::RuntimeException) { throw RuntimeException( diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx index 1f2fe2a5b5ca..403b9206f5e2 100644 --- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx +++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx @@ -211,6 +211,7 @@ void IndexColumns::dropByName( const ::rtl::OUString& elementName ) ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException) { + (void) elementName; throw com::sun::star::sdbc::SQLException( ASCII_STR( "SDBC-POSTGRESQL: IndexesColumns.dropByName not yet implemented" ), *this, OUString(), 1, Any() ); @@ -236,6 +237,7 @@ void IndexColumns::dropByIndex( sal_Int32 index ) ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) { + (void) index; throw com::sun::star::sdbc::SQLException( ASCII_STR( "SDBC-POSTGRESQL: IndexesColumns.dropByIndex not yet implemented" ), *this, OUString(), 1, Any() ); diff --git a/connectivity/source/drivers/postgresql/pq_xindexes.cxx b/connectivity/source/drivers/postgresql/pq_xindexes.cxx index 8036a8112b10..c965bace1fa0 100644 --- a/connectivity/source/drivers/postgresql/pq_xindexes.cxx +++ b/connectivity/source/drivers/postgresql/pq_xindexes.cxx @@ -181,6 +181,7 @@ void Indexes::refresh() new Index( m_refMutex, m_origin, m_pSettings, m_schemaName, m_tableName ); + (void) C_SCHEMA; (void) C_TABLENAME; sal_Bool isUnique = row->getBoolean( C_IS_UNIQUE ); sal_Bool isPrimary = row->getBoolean( C_IS_PRIMARY ); sal_Bool isClusterd = row->getBoolean( C_IS_CLUSTERED ); diff --git a/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx b/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx index 04023af6f856..ac0d65ec9669 100644 --- a/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx +++ b/connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx @@ -315,6 +315,7 @@ void KeyColumns::appendByDescriptor( ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException) { + (void) future; throw com::sun::star::sdbc::SQLException( ASCII_STR( "KeyColumns::appendByDescriptor not implemented yet" ), *this, OUString(), 1, Any() ); @@ -334,6 +335,7 @@ void KeyColumns::dropByIndex( sal_Int32 index ) ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) { + (void) index; throw com::sun::star::sdbc::SQLException( ASCII_STR( "KeyColumns::dropByIndex not implemented yet" ), *this, OUString(), 1, Any() ); diff --git a/connectivity/source/drivers/postgresql/pq_xuser.cxx b/connectivity/source/drivers/postgresql/pq_xuser.cxx index 0164c3b5d4de..39da4402e14a 100644 --- a/connectivity/source/drivers/postgresql/pq_xuser.cxx +++ b/connectivity/source/drivers/postgresql/pq_xuser.cxx @@ -171,6 +171,7 @@ void User::changePassword( const ::rtl::OUString& oldPassword, const ::rtl::OUString& newPassword ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { + (void) oldPassword; rtl::OUStringBuffer buf(128); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ALTER USER " ) ); bufferQuoteIdentifier( buf, extractStringProperty( this, getStatics().NAME ), m_pSettings ); @@ -207,6 +208,7 @@ sal_Int32 User::getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType sal_Int32 User::getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int32 objType ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { + (void) objName; (void) objType; // all privileges return 0xffffffff; } @@ -214,6 +216,7 @@ sal_Int32 User::getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int3 void User::grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { + (void) objName; (void) objType; (void) objPrivileges; throw com::sun::star::sdbc::SQLException( ASCII_STR( "pq_driver: privilege change not implemented yet" ), *this, OUString(), 1, Any() ); @@ -222,6 +225,7 @@ void User::grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, s void User::revokePrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_Int32 objPrivileges ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) { + (void) objName; (void) objType; (void) objPrivileges; throw com::sun::star::sdbc::SQLException( ASCII_STR( "pq_driver: privilege change not implemented yet" ), *this, OUString(), 1, Any() ); |