summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:13:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:39:29 +0100
commitb45289e48e0f354b9996e2846dd041db4a9947ce (patch)
tree353ed4a7b5daa06c29ed54bcdd08c1fc5ae5c14c /connectivity/source/drivers/evoab2
parent347571a6873a4b6bce8733e476fa902830d1a644 (diff)
loplugin:indentation in connectivity
Change-Id: I6619fcdd84a23aae975dcaa7315c7f229c63c4f1 Reviewed-on: https://gerrit.libreoffice.org/67535 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NConnection.cxx36
-rw-r--r--connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NDriver.cxx4
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.cxx4
-rw-r--r--connectivity/source/drivers/evoab2/NResultSetMetaData.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NTables.cxx4
6 files changed, 26 insertions, 26 deletions
diff --git a/connectivity/source/drivers/evoab2/NConnection.cxx b/connectivity/source/drivers/evoab2/NConnection.cxx
index 6b12d72fa8b1..5355a55b786d 100644
--- a/connectivity/source/drivers/evoab2/NConnection.cxx
+++ b/connectivity/source/drivers/evoab2/NConnection.cxx
@@ -65,19 +65,19 @@ void OEvoabConnection::construct(const OUString& url, const Sequence< PropertyVa
osl_atomic_increment( &m_refCount );
SAL_INFO("connectivity.evoab2", "OEvoabConnection::construct()::url = " << url );
- OUString sPassword;
- const char pPwd[] = "password";
-
- const PropertyValue *pIter = info.getConstArray();
- const PropertyValue *pEnd = pIter + info.getLength();
- for(;pIter != pEnd;++pIter)
- {
- if(pIter->Name == pPwd)
- {
- pIter->Value >>= sPassword;
- break;
- }
- }
+ OUString sPassword;
+ const char pPwd[] = "password";
+
+ const PropertyValue *pIter = info.getConstArray();
+ const PropertyValue *pEnd = pIter + info.getLength();
+ for(;pIter != pEnd;++pIter)
+ {
+ if(pIter->Name == pPwd)
+ {
+ pIter->Value >>= sPassword;
+ break;
+ }
+ }
if ( url == "sdbc:address:evolution:groupwise" )
setSDBCAddressType(SDBCAddress::EVO_GWISE);
@@ -115,14 +115,14 @@ Reference< XDatabaseMetaData > SAL_CALL OEvoabConnection::getMetaData( )
css::uno::Reference< XTablesSupplier > OEvoabConnection::createCatalog()
{
::osl::MutexGuard aGuard( m_aMutex );
- Reference< XTablesSupplier > xTab = m_xCatalog;
- if(!xTab.is())
- {
+ Reference< XTablesSupplier > xTab = m_xCatalog;
+ if(!xTab.is())
+ {
OEvoabCatalog *pCat = new OEvoabCatalog(this);
xTab = pCat;
m_xCatalog = xTab;
- }
- return xTab;
+ }
+ return xTab;
}
Reference< XStatement > SAL_CALL OEvoabConnection::createStatement( )
diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
index 004b46245b4d..da3aa438a359 100644
--- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
@@ -233,7 +233,7 @@ namespace connectivity
g_free(pFields[i]);
}
}
- if(pFields)
+ if(pFields)
{
g_free(pFields);
pFields=nullptr;
diff --git a/connectivity/source/drivers/evoab2/NDriver.cxx b/connectivity/source/drivers/evoab2/NDriver.cxx
index 5025e2205bab..79a42103c01e 100644
--- a/connectivity/source/drivers/evoab2/NDriver.cxx
+++ b/connectivity/source/drivers/evoab2/NDriver.cxx
@@ -126,8 +126,8 @@ Reference< XConnection > SAL_CALL OEvoabDriver::connect( const OUString& url, co
OEvoabConnection* pCon = new OEvoabConnection( *this );
pCon->construct(url,info);
- Reference< XConnection > xCon = pCon;
- m_xConnections.push_back(WeakReferenceHelper(*pCon));
+ Reference< XConnection > xCon = pCon;
+ m_xConnections.push_back(WeakReferenceHelper(*pCon));
return xCon;
}
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx
index f071b4b66d51..7681ded2da34 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.cxx
@@ -71,7 +71,7 @@ OUString SAL_CALL OEvoabResultSet::getImplementationName( )
Sequence< OUString > SAL_CALL OEvoabResultSet::getSupportedServiceNames( )
{
- Sequence< OUString > aSupported { "com.sun.star.sdbc.ResultSet" };
+ Sequence< OUString > aSupported { "com.sun.star.sdbc.ResultSet" };
return aSupported;
}
@@ -1031,7 +1031,7 @@ Reference< XInterface > SAL_CALL OEvoabResultSet::getStatement( )
{
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
-css::uno::WeakReferenceHelper aStatement(static_cast<OWeakObject*>(m_pStatement));
+ css::uno::WeakReferenceHelper aStatement(static_cast<OWeakObject*>(m_pStatement));
return aStatement.get();
}
diff --git a/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx b/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx
index 7af9ebb81543..2d201c4be8cf 100644
--- a/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx
@@ -71,7 +71,7 @@ sal_Int32 SAL_CALL OEvoabResultSetMetaData::getColumnDisplaySize( sal_Int32 /*nC
sal_Int32 SAL_CALL OEvoabResultSetMetaData::getColumnType( sal_Int32 nColumnNum )
{
- sal_uInt32 nField = m_aEvoabFields[nColumnNum - 1];
+ sal_uInt32 nField = m_aEvoabFields[nColumnNum - 1];
return evoab::getFieldType (nField);
}
diff --git a/connectivity/source/drivers/evoab2/NTables.cxx b/connectivity/source/drivers/evoab2/NTables.cxx
index 8acf5507033b..757445866f40 100644
--- a/connectivity/source/drivers/evoab2/NTables.cxx
+++ b/connectivity/source/drivers/evoab2/NTables.cxx
@@ -64,7 +64,7 @@ ObjectType OEvoabTables::createObject(const OUString& aName)
xRow->getString(5),
"",
"");
- xRet = pRet;
+ xRet = pRet;
}
}
@@ -80,7 +80,7 @@ void OEvoabTables::impl_refresh( )
void OEvoabTables::disposing()
{
-m_xMetaData.clear();
+ m_xMetaData.clear();
OCollection::disposing();
}