diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 09:21:53 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:11:34 +0000 |
commit | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (patch) | |
tree | efbfb952f3236a6f56540ddae6a896c8c73774a0 /connectivity | |
parent | f12e483589888f87843026ceff5ae3c1e615ca02 (diff) |
Formatting changes across all modules
+ Removed comment cruft
+ Tab formatting in number of files
+ Some commented out code removed
+ Tab characters replaced with spaces
+ Newline cleanup in quite a few files
+ Tweak header guard #endifs
Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc
Reviewed-on: https://gerrit.libreoffice.org/22221
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_tools.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_tools.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/parse/sqlflex.l | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx index 071fbd7b84fc..22a1453faa78 100644 --- a/connectivity/source/drivers/postgresql/pq_tools.cxx +++ b/connectivity/source/drivers/postgresql/pq_tools.cxx @@ -1156,7 +1156,7 @@ OUString querySingleValue( // copied from connectivity/source/dbtools, can't use the function directly -bool implSetObject( const Reference< XParameters >& _rxParameters, +bool implSetObject( const Reference< XParameters >& _rxParameters, const sal_Int32 _nColumnIndex, const Any& _rValue) { bool bSuccessfullyReRouted = true; diff --git a/connectivity/source/drivers/postgresql/pq_tools.hxx b/connectivity/source/drivers/postgresql/pq_tools.hxx index 8fa7656dc30f..f68612a171cd 100644 --- a/connectivity/source/drivers/postgresql/pq_tools.hxx +++ b/connectivity/source/drivers/postgresql/pq_tools.hxx @@ -139,7 +139,7 @@ void extractNameValuePairsFromInsert( String2StringMap & map, const OString & la sal_Int32 typeNameToDataType( const OUString &typeName, const OUString &typtype ); // copied from connectivity/source/dbtools, can't use the function directly -bool implSetObject( const com::sun::star::uno::Reference< com::sun::star::sdbc::XParameters >& _rxParameters, +bool implSetObject( const com::sun::star::uno::Reference< com::sun::star::sdbc::XParameters >& _rxParameters, const sal_Int32 _nColumnIndex, const com::sun::star::uno::Any& _rValue); class DisposeGuard diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l index be7401059177..94fa789350f2 100644 --- a/connectivity/source/parse/sqlflex.l +++ b/connectivity/source/parse/sqlflex.l @@ -787,18 +787,15 @@ IParseContext::InternationalKeyCode OSQLScanner::getInternationalTokenID(const s OSL_ENSURE(m_pContext, "OSQLScanner::getInternationalTokenID: No Context set"); return (m_bInternational) ? m_pContext->getIntlKeyCode(::rtl::OString(sToken) ) : IParseContext::KEY_NONE; } -// ------------------------------------------------------------------------- sal_Int32 OSQLScanner::GetGERRule() { return PREDICATE_GER; } sal_Int32 OSQLScanner::GetENGRule() { return PREDICATE_ENG; } sal_Int32 OSQLScanner::GetSQLRule() { return SQL; } sal_Int32 OSQLScanner::GetDATERule() { return DATE; } sal_Int32 OSQLScanner::GetSTRINGRule() { return STRING; } -// ------------------------------------------------------------------------- void OSQLScanner::setScanner(bool _bNull) { xxx_pGLOBAL_SQLSCAN = _bNull ? NULL : this; } -// ------------------------------------------------------------------------- sal_Int32 OSQLScanner::SQLlex() { return SQLyylex(); |