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