Kaydet (Commit) 5c8ea6d9 authored tarafından Vinicius Vendramini's avatar Vinicius Vendramini Kaydeden (comit) Michael Meeks

fdo#83991 - cleanup whitespace after folding comment removal.

Change-Id: I31149484d626013ddcd52356be7d416b435cebcc
üst ff6e489e
......@@ -74,7 +74,6 @@ OConnection::OConnection(MysqlCDriver& _rDriver, sql::Driver * _cppDriver)
m_rDriver.acquire();
}
OConnection::~OConnection()
{
OSL_TRACE("OConnection::~OConnection");
......@@ -84,7 +83,6 @@ OConnection::~OConnection()
m_rDriver.release();
}
void SAL_CALL OConnection::release()
throw()
{
......@@ -252,7 +250,6 @@ Reference< XStatement > SAL_CALL OConnection::createStatement()
return xReturn;
}
Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement(const OUString& _sSql)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -274,7 +271,6 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement(const OUS
return xStatement;
}
Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall(const OUString& /*_sSql*/ )
throw(SQLException, RuntimeException, std::exception)
{
......@@ -286,7 +282,6 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall(const OUString
return Reference< XPreparedStatement >();
}
OUString SAL_CALL OConnection::nativeSQL(const OUString& _sSql)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -304,7 +299,6 @@ OUString SAL_CALL OConnection::nativeSQL(const OUString& _sSql)
return sNativeSQL;
}
void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -318,7 +312,6 @@ void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit)
}
}
sal_Bool SAL_CALL OConnection::getAutoCommit()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -338,7 +331,6 @@ sal_Bool SAL_CALL OConnection::getAutoCommit()
return autoCommit;
}
void SAL_CALL OConnection::commit()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -352,7 +344,6 @@ void SAL_CALL OConnection::commit()
}
}
void SAL_CALL OConnection::rollback()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -366,7 +357,6 @@ void SAL_CALL OConnection::rollback()
}
}
sal_Bool SAL_CALL OConnection::isClosed()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -377,7 +367,6 @@ sal_Bool SAL_CALL OConnection::isClosed()
return (OConnection_BASE::rBHelper.bDisposed);
}
Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -398,7 +387,6 @@ Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData()
return xMetaData;
}
void SAL_CALL OConnection::setReadOnly(sal_Bool readOnly)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -409,7 +397,6 @@ void SAL_CALL OConnection::setReadOnly(sal_Bool readOnly)
m_settings.readOnly = readOnly;
}
sal_Bool SAL_CALL OConnection::isReadOnly()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -421,7 +408,6 @@ sal_Bool SAL_CALL OConnection::isReadOnly()
return (m_settings.readOnly);
}
void SAL_CALL OConnection::setCatalog(const OUString& catalog)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -437,7 +423,6 @@ void SAL_CALL OConnection::setCatalog(const OUString& catalog)
}
}
OUString SAL_CALL OConnection::getCatalog()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -454,7 +439,6 @@ OUString SAL_CALL OConnection::getCatalog()
return catalog;
}
void SAL_CALL OConnection::setTransactionIsolation(sal_Int32 level)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -490,7 +474,6 @@ void SAL_CALL OConnection::setTransactionIsolation(sal_Int32 level)
}
}
sal_Int32 SAL_CALL OConnection::getTransactionIsolation()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -513,7 +496,6 @@ sal_Int32 SAL_CALL OConnection::getTransactionIsolation()
return TransactionIsolation::NONE;
}
Reference<XNameAccess> SAL_CALL OConnection::getTypeMap()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -528,7 +510,6 @@ Reference<XNameAccess> SAL_CALL OConnection::getTypeMap()
return (t);
}
void SAL_CALL OConnection::setTypeMap(const Reference<XNameAccess >& typeMap)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -539,7 +520,6 @@ void SAL_CALL OConnection::setTypeMap(const Reference<XNameAccess >& typeMap)
m_typeMap = typeMap;
}
// XCloseable
void SAL_CALL OConnection::close()
throw(SQLException, RuntimeException, std::exception)
......@@ -557,7 +537,6 @@ void SAL_CALL OConnection::close()
dispose();
}
// XWarningsSupplier
Any SAL_CALL OConnection::getWarnings()
throw(SQLException, RuntimeException, std::exception)
......@@ -568,7 +547,6 @@ Any SAL_CALL OConnection::getWarnings()
return x;
}
void SAL_CALL OConnection::clearWarnings()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -576,14 +554,12 @@ void SAL_CALL OConnection::clearWarnings()
// you should clear your collected warnings here#
}
void OConnection::buildTypeInfo()
throw(SQLException)
{
OSL_TRACE("OConnection::buildTypeInfo");
}
void OConnection::disposing()
{
OSL_TRACE("OConnection::disposing");
......@@ -605,7 +581,6 @@ void OConnection::disposing()
OConnection_BASE::disposing();
}
/* ToDo - upcast the connection to MySQL_Connection and use ::getSessionVariable() */
OUString OConnection::getMysqlVariable(const char *varname)
......@@ -635,7 +610,6 @@ OUString OConnection::getMysqlVariable(const char *varname)
return ret;
}
sal_Int32 OConnection::getMysqlVersion()
throw(SQLException, RuntimeException)
{
......@@ -654,7 +628,6 @@ sal_Int32 OConnection::getMysqlVersion()
return version;
}
// TODO: Not used
//sal_Int32 OConnection::sdbcColumnType(OUString typeName)
//{
......
......@@ -90,7 +90,6 @@ Sequence< OUString > MysqlCDriver::getSupportedServiceNames_Static()
return aSNS;
}
OUString SAL_CALL MysqlCDriver::getImplementationName()
throw(RuntimeException, std::exception)
{
......
......@@ -45,7 +45,6 @@ void throwFeatureNotImplementedException( const sal_Char* _pAsciiFeatureName, co
);
}
void throwInvalidArgumentException( const sal_Char* _pAsciiFeatureName, const Reference< XInterface >& _rxContext, const Any* _pNextException )
throw (SQLException)
{
......@@ -70,7 +69,6 @@ void translateAndThrow(const ::sql::SQLException& _error, const ::com::sun::star
);
}
OUString getStringFromAny(const Any& _rAny)
{
OUString nReturn;
......@@ -78,7 +76,6 @@ OUString getStringFromAny(const Any& _rAny)
return nReturn;
}
int mysqlToOOOType(int cppConnType)
throw ()
{
......@@ -150,7 +147,6 @@ int mysqlToOOOType(int cppConnType)
return com::sun::star::sdbc::DataType::VARCHAR;
}
OUString convert(const ::std::string& _string, const rtl_TextEncoding encoding)
{
return OUString( _string.c_str(), _string.size(), encoding );
......
......@@ -91,13 +91,11 @@ OPreparedStatement::OPreparedStatement(OConnection* _pConnection, sql::PreparedS
}
}
OPreparedStatement::~OPreparedStatement()
{
OSL_TRACE("OPreparedStatement::~OPreparedStatement");
}
void SAL_CALL OPreparedStatement::acquire()
throw()
{
......@@ -105,7 +103,6 @@ void SAL_CALL OPreparedStatement::acquire()
OCommonStatement::acquire();
}
void SAL_CALL OPreparedStatement::release()
throw()
{
......@@ -113,7 +110,6 @@ void SAL_CALL OPreparedStatement::release()
OCommonStatement::release();
}
Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType)
throw(RuntimeException, std::exception)
{
......@@ -125,7 +121,6 @@ Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType)
return (aRet);
}
Sequence< Type > SAL_CALL OPreparedStatement::getTypes()
throw(RuntimeException, std::exception)
{
......@@ -133,7 +128,6 @@ Sequence< Type > SAL_CALL OPreparedStatement::getTypes()
return concatSequences(OPreparedStatement_BASE::getTypes(), OCommonStatement::getTypes());
}
Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -156,7 +150,6 @@ Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData()
return m_xMetaData;
}
void SAL_CALL OPreparedStatement::close()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -177,7 +170,6 @@ void SAL_CALL OPreparedStatement::close()
// list
}
sal_Bool SAL_CALL OPreparedStatement::execute()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -194,7 +186,6 @@ sal_Bool SAL_CALL OPreparedStatement::execute()
return success;
}
sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -211,7 +202,6 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
return affectedRows;
}
void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const OUString& x)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -230,7 +220,6 @@ void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const OUString&
}
}
Reference< XConnection > SAL_CALL OPreparedStatement::getConnection()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -276,7 +265,6 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery()
return xResultSet;
}
void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -294,7 +282,6 @@ void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x)
}
}
void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -312,7 +299,6 @@ void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x)
}
}
void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -338,7 +324,6 @@ void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData
}
}
void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -364,7 +349,6 @@ void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal)
}
}
void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTime& aVal)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -398,7 +382,6 @@ void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTi
}
}
void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -416,7 +399,6 @@ void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x)
}
}
void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -434,7 +416,6 @@ void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x)
}
}
void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -452,7 +433,6 @@ void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x)
}
}
void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -470,7 +450,6 @@ void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal)
}
}
void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -488,7 +467,6 @@ void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType
}
}
void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference< XClob >& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -500,7 +478,6 @@ void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference<
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setClob", *this);
}
void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference< XBlob >& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -512,7 +489,6 @@ void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference<
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setBlob", *this);
}
void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference< XArray >& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -524,7 +500,6 @@ void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference<
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setArray", *this);
}
void SAL_CALL OPreparedStatement::setRef(sal_Int32 parameter, const Reference< XRef >& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -699,7 +674,6 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, c
}
}
void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 /* sqlType */, const OUString& /* typeName */)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -711,7 +685,6 @@ void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 /
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setObjectNull", *this);
}
void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -723,7 +696,6 @@ void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setObject", *this);
}
void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -741,7 +713,6 @@ void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x)
}
}
void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence< sal_Int8 >& x)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -760,7 +731,6 @@ void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence<
}
}
void SAL_CALL OPreparedStatement::setCharacterStream(sal_Int32 parameter,
const Reference< XInputStream >& /* x */,
sal_Int32 /* length */)
......@@ -774,7 +744,6 @@ void SAL_CALL OPreparedStatement::setCharacterStream(sal_Int32 parameter,
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setCharacterStream", *this);
}
void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter,
const Reference< XInputStream >& /* x */,
sal_Int32 /* length */)
......@@ -788,7 +757,6 @@ void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter,
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setBinaryStream", *this);
}
void SAL_CALL OPreparedStatement::clearParameters()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -805,7 +773,6 @@ void SAL_CALL OPreparedStatement::clearParameters()
}
}
void SAL_CALL OPreparedStatement::clearBatch()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -813,7 +780,6 @@ void SAL_CALL OPreparedStatement::clearBatch()
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::clearBatch", *this);
}
void SAL_CALL OPreparedStatement::addBatch()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -821,7 +787,6 @@ void SAL_CALL OPreparedStatement::addBatch()
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::addBatch", *this);
}
Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -830,7 +795,6 @@ Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch()
return aRet;
}
void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue)
throw(Exception, std::exception)
{
......@@ -851,7 +815,6 @@ void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,cons
}
}
void OPreparedStatement::checkParameterIndex(sal_Int32 column)
{
OSL_TRACE("OPreparedStatement::checkColumnIndex");
......
......@@ -96,7 +96,6 @@ OPropertyMap::~OPropertyMap()
}
}
OUString OPropertyMap::getNameByIndex(sal_Int32 idx) const
{
OUString sRet;
......@@ -169,7 +168,6 @@ static const property_callback property_callbacks[PROPERTY_ID_LAST] =
getPROPERTY_PRIVILEGES,
};
OUString OPropertyMap::fillValue(sal_Int32 idx)
{
rtl_uString* pStr = NULL;
......
......@@ -33,7 +33,6 @@ OResultSetMetaData::~OResultSetMetaData()
{
}
sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -49,7 +48,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column)
return 0; // fool compiler
}
sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -85,7 +83,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount()
return 0; // fool compiler
}
sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -102,7 +99,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column)
return sal_False; // fool compiler
}
OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -119,7 +115,6 @@ OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column)
return OUString(); // fool compiler
}
OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -136,7 +131,6 @@ OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column)
return OUString(); // fool compiler
}
OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -153,7 +147,6 @@ OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column)
return OUString(); // fool compiler
}
OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -170,7 +163,6 @@ OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column)
return OUString(); // fool compiler
}
OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -187,7 +179,6 @@ OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column)
return OUString(); // fool compiler
}
OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -204,7 +195,6 @@ OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column)
return OUString(); // fool compiler
}
OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -215,7 +205,6 @@ OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column)
return aRet;
}
sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -232,7 +221,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column)
return sal_False; // fool compiler
}
sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -249,7 +237,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column)
return sal_False; // fool compiler
}
sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -266,7 +253,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column)
return sal_False; // fool compiler
}
sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -283,7 +269,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column)
return 0; // fool compiler
}
sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column)
throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
{
......@@ -299,7 +284,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column)
return 0; // fool compiler
}
sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -316,7 +300,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column)
return sal_False; // fool compiler
}
sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -333,7 +316,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column)
return sal_False; // fool compiler
}
sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -350,7 +332,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column)
return sal_False; // fool compiler
}
sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -367,7 +348,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column)
return sal_False; // fool compiler
}
sal_Bool SAL_CALL OResultSetMetaData::isWritable(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -384,7 +364,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isWritable(sal_Int32 column)
return sal_False; // fool compiler
}
void OResultSetMetaData::checkColumnIndex(sal_Int32 columnIndex)
throw (SQLException, RuntimeException)
{
......
......@@ -73,7 +73,6 @@ struct ProviderRequest
void* getProvider() const { return xRet.get(); }
};
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
const sal_Char * pImplementationName,
void * pServiceManager,
......
......@@ -140,7 +140,6 @@ void SAL_CALL OCommonStatement::close()
dispose();
}
void SAL_CALL OStatement::clearBatch()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -148,7 +147,6 @@ void SAL_CALL OStatement::clearBatch()
// if you support batches clear it here
}
sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -166,7 +164,6 @@ sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql)
return success;
}
Reference< XResultSet > SAL_CALL OCommonStatement::executeQuery(const OUString& sql)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -187,7 +184,6 @@ Reference< XResultSet > SAL_CALL OCommonStatement::executeQuery(const OUString&
return xResultSet;
}
Reference< XConnection > SAL_CALL OCommonStatement::getConnection()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -199,7 +195,6 @@ Reference< XConnection > SAL_CALL OCommonStatement::getConnection()
return ((Reference< XConnection >)m_pConnection);
}
sal_Int32 SAL_CALL OCommonStatement::getUpdateCount()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -207,7 +202,6 @@ sal_Int32 SAL_CALL OCommonStatement::getUpdateCount()
return 0;
}
Any SAL_CALL OStatement::queryInterface(const Type & rType)
throw(RuntimeException, std::exception)
{
......@@ -219,7 +213,6 @@ Any SAL_CALL OStatement::queryInterface(const Type & rType)
return (aRet);
}
void SAL_CALL OStatement::addBatch(const OUString& sql)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -230,7 +223,6 @@ void SAL_CALL OStatement::addBatch(const OUString& sql)
m_aBatchList.push_back(sql);
}
Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -242,7 +234,6 @@ Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch()
return aRet;
}
sal_Int32 SAL_CALL OCommonStatement::executeUpdate(const OUString& sql)
throw(SQLException, RuntimeException, std::exception)
{
......@@ -260,7 +251,6 @@ sal_Int32 SAL_CALL OCommonStatement::executeUpdate(const OUString& sql)
return affectedRows;
}
Reference< XResultSet > SAL_CALL OCommonStatement::getResultSet()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -279,7 +269,6 @@ Reference< XResultSet > SAL_CALL OCommonStatement::getResultSet()
return xResultSet;
}
sal_Bool SAL_CALL OCommonStatement::getMoreResults()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -292,7 +281,6 @@ sal_Bool SAL_CALL OCommonStatement::getMoreResults()
return (sal_False);
}
Any SAL_CALL OCommonStatement::getWarnings()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -303,7 +291,6 @@ Any SAL_CALL OCommonStatement::getWarnings()
return makeAny(m_aLastWarning);
}
void SAL_CALL OCommonStatement::clearWarnings()
throw(SQLException, RuntimeException, std::exception)
{
......@@ -314,7 +301,6 @@ void SAL_CALL OCommonStatement::clearWarnings()
m_aLastWarning = SQLWarning();
}
::cppu::IPropertyArrayHelper* OCommonStatement::createArrayHelper( ) const
{
OSL_TRACE("OCommonStatement::createArrayHelper");
......@@ -337,14 +323,12 @@ void SAL_CALL OCommonStatement::clearWarnings()
return new ::cppu::OPropertyArrayHelper(aProps);
}
::cppu::IPropertyArrayHelper & OCommonStatement::getInfoHelper()
{
OSL_TRACE("OCommonStatement::getInfoHelper");
return(*const_cast<OCommonStatement*>(this)->getArrayHelper());
}
sal_Bool OCommonStatement::convertFastPropertyValue(
Any & /* rConvertedValue */, Any & /* rOldValue */,
sal_Int32 /* nHandle */, const Any& /* rValue */)
......@@ -356,7 +340,6 @@ sal_Bool OCommonStatement::convertFastPropertyValue(
return bConverted;
}
void OCommonStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any& /* rValue */)
throw (Exception, std::exception)
{
......@@ -378,7 +361,6 @@ void OCommonStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const
}
}
void OCommonStatement::getFastPropertyValue(Any& _rValue, sal_Int32 nHandle) const
{
OSL_TRACE("OCommonStatement::getFastPropertyValue");
......@@ -427,7 +409,6 @@ void SAL_CALL OCommonStatement::acquire()
OCommonStatement_IBase::acquire();
}
void SAL_CALL OCommonStatement::release()
throw()
{
......@@ -435,7 +416,6 @@ void SAL_CALL OCommonStatement::release()
relase_ChildImpl();
}
void SAL_CALL OStatement::acquire()
throw()
{
......@@ -443,7 +423,6 @@ void SAL_CALL OStatement::acquire()
OCommonStatement::acquire();
}
void SAL_CALL OStatement::release()
throw()
{
......@@ -451,7 +430,6 @@ void SAL_CALL OStatement::release()
OCommonStatement::release();
}
Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OCommonStatement::getPropertySetInfo()
throw(RuntimeException, std::exception)
{
......
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