summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:19:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 10:07:23 -0600
commit5d70084bc6277245953f57b6cc7530e48d4a5826 (patch)
treef481ab0f7a78e7fb4986c99253b8956b08387488 /mysqlc
parent45cc7cfea269c6eff9b0d6eef6f7060c4d156623 (diff)
Remove visual noise from mysqlc
Change-Id: I5ee918bb193ea887e728e271dd4c0fb49a4dd6e9 Reviewed-on: https://gerrit.libreoffice.org/8282 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/source/mysqlc_connection.hxx4
-rw-r--r--mysqlc/source/mysqlc_databasemetadata.hxx4
-rw-r--r--mysqlc/source/mysqlc_propertyids.cxx4
-rw-r--r--mysqlc/source/mysqlc_propertyids.hxx8
-rw-r--r--mysqlc/source/mysqlc_resultsetmetadata.hxx4
-rw-r--r--mysqlc/source/mysqlc_statement.hxx4
6 files changed, 14 insertions, 14 deletions
diff --git a/mysqlc/source/mysqlc_connection.hxx b/mysqlc/source/mysqlc_connection.hxx
index 0bd1b827538c..aac93b26783b 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 a6a79e34f929..f96f1421760d 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 f22d7af4f2d0..ee59375b694e 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 8b010a6e1f78..98ffd07211ca 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 4bbd7208a87c..b92b567d6d7f 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 a8fa0cc997be..ed9f9f896218 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