mysqlc/source/mysqlc_connection.hxx | 4 ++-- mysqlc/source/mysqlc_databasemetadata.hxx | 4 ++-- mysqlc/source/mysqlc_propertyids.cxx | 4 ++-- mysqlc/source/mysqlc_propertyids.hxx | 8 ++++---- mysqlc/source/mysqlc_resultsetmetadata.hxx | 4 ++-- mysqlc/source/mysqlc_statement.hxx | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-)
New commits: commit 5d70084bc6277245953f57b6cc7530e48d4a5826 Author: Alexander Wilms <[email protected]> Date: Tue Feb 25 19:19:41 2014 +0100 Remove visual noise from mysqlc Change-Id: I5ee918bb193ea887e728e271dd4c0fb49a4dd6e9 Reviewed-on: https://gerrit.libreoffice.org/8282 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/mysqlc/source/mysqlc_connection.hxx b/mysqlc/source/mysqlc_connection.hxx index 0bd1b82..aac93b2 100644 --- a/mysqlc/source/mysqlc_connection.hxx +++ b/mysqlc/source/mysqlc_connection.hxx @@ -100,9 +100,9 @@ namespace connectivity ::com::sun::star::uno::Reference< com::sun::star::util::XStringSubstitution > m_xParameterSubstitution; protected: - //==================================================================== + // Data attributes - //==================================================================== + ::com::sun::star::uno::WeakReference< ::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData; OWeakRefArray m_aStatements; // vector containing a list diff --git a/mysqlc/source/mysqlc_databasemetadata.hxx b/mysqlc/source/mysqlc_databasemetadata.hxx index a6a79e3..f96f142 100644 --- a/mysqlc/source/mysqlc_databasemetadata.hxx +++ b/mysqlc/source/mysqlc_databasemetadata.hxx @@ -36,9 +36,9 @@ namespace connectivity typedef ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > my_XResultSetRef; using ::com::sun::star::uno::Any; - //************************************************************** + //************ Class: ODatabaseMetaData - //************************************************************** + typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XDatabaseMetaData> ODatabaseMetaData_BASE; diff --git a/mysqlc/source/mysqlc_propertyids.cxx b/mysqlc/source/mysqlc_propertyids.cxx index f22d7af..ee59375 100644 --- a/mysqlc/source/mysqlc_propertyids.cxx +++ b/mysqlc/source/mysqlc_propertyids.cxx @@ -76,9 +76,9 @@ const sal_Char* getPROPERTY_LOCALE() { return "Locale"; } const sal_Char* getPROPERTY_AUTOINCREMENTCREATION() { return "AutoIncrementCreation"; } const sal_Char* getPROPERTY_PRIVILEGES() { return "Privileges"; } - //============================================================ + //= error messages - //============================================================ + const sal_Char* getERRORMSG_SEQUENCE() { return "Function sequence error"; } const sal_Char* getSQLSTATE_SEQUENCE() { return "HY010"; } const sal_Char* getSQLSTATE_GENERAL() { return "HY0000"; } diff --git a/mysqlc/source/mysqlc_propertyids.hxx b/mysqlc/source/mysqlc_propertyids.hxx index 8b010a6..98ffd07 100644 --- a/mysqlc/source/mysqlc_propertyids.hxx +++ b/mysqlc/source/mysqlc_propertyids.hxx @@ -130,16 +130,16 @@ enum }/* mysqlc */ }/* connectivity */ -//------------------------------------------------------------------------------ + #define DECL_PROP1IMPL(varname, type) \ pProperties[nPos++] = Property(OPropertyMap::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getCppuType(static_cast< type*>(0)), -//------------------------------------------------------------------------------ + #define DECL_PROP0(varname, type) \ DECL_PROP1IMPL(varname, type) 0) -//------------------------------------------------------------------------------ + #define DECL_BOOL_PROP1IMPL(varname) \ pProperties[nPos++] = Property(OPropertyMap::getPropMap().getNameByIndex(PROPERTY_ID_##varname), PROPERTY_ID_##varname, ::getBooleanCppuType(), -//------------------------------------------------------------------------------ + #define DECL_BOOL_PROP0(varname) \ DECL_BOOL_PROP1IMPL(varname) 0) diff --git a/mysqlc/source/mysqlc_resultsetmetadata.hxx b/mysqlc/source/mysqlc_resultsetmetadata.hxx index 4bbd720..b92b567 100644 --- a/mysqlc/source/mysqlc_resultsetmetadata.hxx +++ b/mysqlc/source/mysqlc_resultsetmetadata.hxx @@ -33,9 +33,9 @@ namespace connectivity { using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::uno::RuntimeException; - //************************************************************** + //************ Class: ResultSetMetaData - //************************************************************** + typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XResultSetMetaData> OResultSetMetaData_BASE; class OResultSetMetaData : public OResultSetMetaData_BASE diff --git a/mysqlc/source/mysqlc_statement.hxx b/mysqlc/source/mysqlc_statement.hxx index a8fa0cc..ed9f9f8 100644 --- a/mysqlc/source/mysqlc_statement.hxx +++ b/mysqlc/source/mysqlc_statement.hxx @@ -54,10 +54,10 @@ namespace connectivity class OCommonStatement; typedef OSubComponent< OCommonStatement, OCommonStatement_IBase > OStatement_CBase; - //************************************************************** + //************ Class: OCommonStatement // is a base class for the normal statement and for the prepared statement - //************************************************************** + class OCommonStatement :public OBase_Mutex ,public OCommonStatement_IBase ,public ::cppu::OPropertySetHelper
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
