summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-20 14:01:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-21 09:14:14 +0100
commit6333dcf6f18c5d5a03e5daa267f89c06a528b698 (patch)
treee5d5246bd595e0a647b6cac436aba5d4f4351259 /connectivity
parent07f24df0e8dbc035f2f9a24c12879848a1f318f1 (diff)
loplugin:indentation (macOS)
* Some .m/.mm files that still contained tabs instead of spaces have been cleaned up with Emacs' untabify (and apple_remote/source/HIDRemoteControlDevice.m needed further manual adaptions): apple_remote/source/GlobalKeyboardDevice.m apple_remote/source/HIDRemoteControlDevice.m apple_remote/source/KeyspanFrontRowControl.m apple_remote/source/RemoteControl.m vcl/osx/a11yrolehelper.mm * Some of the changes predate 0626e66d761de18f62e4d00d427903032da9d517 "Avoid loplugin:indentation after preproc conditional inclusion lines" and would likely have no longer been flagged since. Change-Id: Ibf5faffa743c7f79b36109d9879eb79d63c8c40f Reviewed-on: https://gerrit.libreoffice.org/68090 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/macab/MacabResultSet.cxx16
-rw-r--r--connectivity/source/drivers/macab/MacabTables.cxx2
-rw-r--r--connectivity/source/drivers/odbc/OFunctions.cxx2
3 files changed, 10 insertions, 10 deletions
diff --git a/connectivity/source/drivers/macab/MacabResultSet.cxx b/connectivity/source/drivers/macab/MacabResultSet.cxx
index fd129a1b798a..149a3123208d 100644
--- a/connectivity/source/drivers/macab/MacabResultSet.cxx
+++ b/connectivity/source/drivers/macab/MacabResultSet.cxx
@@ -144,8 +144,8 @@ void MacabResultSet::disposing()
::osl::MutexGuard aGuard(m_aMutex);
-m_xStatement.clear();
-m_xMetaData.clear();
+ m_xStatement.clear();
+ m_xMetaData.clear();
}
Any SAL_CALL MacabResultSet::queryInterface(const Type & rType)
@@ -235,7 +235,7 @@ sal_Bool SAL_CALL MacabResultSet::getBoolean(sal_Int32)
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(MacabResultSet_BASE::rBHelper.bDisposed);
-::dbtools::throwFunctionNotSupportedSQLException("getBoolean", nullptr);
+ ::dbtools::throwFunctionNotSupportedSQLException("getBoolean", nullptr);
return false;
}
@@ -245,7 +245,7 @@ sal_Int8 SAL_CALL MacabResultSet::getByte(sal_Int32)
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(MacabResultSet_BASE::rBHelper.bDisposed);
-::dbtools::throwFunctionNotSupportedSQLException("getByte", nullptr);
+ ::dbtools::throwFunctionNotSupportedSQLException("getByte", nullptr);
return 0;
}
@@ -255,7 +255,7 @@ sal_Int16 SAL_CALL MacabResultSet::getShort(sal_Int32)
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(MacabResultSet_BASE::rBHelper.bDisposed);
-::dbtools::throwFunctionNotSupportedSQLException("getShort", nullptr);
+ ::dbtools::throwFunctionNotSupportedSQLException("getShort", nullptr);
return 0;
}
@@ -490,7 +490,7 @@ Reference< XClob > SAL_CALL MacabResultSet::getClob(sal_Int32)
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(MacabResultSet_BASE::rBHelper.bDisposed);
-::dbtools::throwFunctionNotSupportedSQLException("getClob", nullptr);
+ ::dbtools::throwFunctionNotSupportedSQLException("getClob", nullptr);
return nullptr;
}
@@ -500,7 +500,7 @@ Reference< XArray > SAL_CALL MacabResultSet::getArray(sal_Int32)
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(MacabResultSet_BASE::rBHelper.bDisposed);
-::dbtools::throwFunctionNotSupportedSQLException("getArray", nullptr);
+ ::dbtools::throwFunctionNotSupportedSQLException("getArray", nullptr);
return nullptr;
}
@@ -897,7 +897,7 @@ sal_Bool SAL_CALL MacabResultSet::moveToBookmark(const Any& bookmark)
checkDisposed(MacabResultSet_BASE::rBHelper.bDisposed);
OUString sBookmark = comphelper::getString(bookmark);
- sal_Int32 nRecords = m_aMacabRecords->size();
+ sal_Int32 nRecords = m_aMacabRecords->size();
for (sal_Int32 nRow = 0; nRow < nRecords; nRow++)
{
diff --git a/connectivity/source/drivers/macab/MacabTables.cxx b/connectivity/source/drivers/macab/MacabTables.cxx
index 42d2adfe63c3..a3128846f89d 100644
--- a/connectivity/source/drivers/macab/MacabTables.cxx
+++ b/connectivity/source/drivers/macab/MacabTables.cxx
@@ -73,7 +73,7 @@ void MacabTables::impl_refresh( )
void MacabTables::disposing()
{
-m_xMetaData.clear();
+ m_xMetaData.clear();
OCollection::disposing();
}
diff --git a/connectivity/source/drivers/odbc/OFunctions.cxx b/connectivity/source/drivers/odbc/OFunctions.cxx
index f740052325c3..9e3c1893b8c7 100644
--- a/connectivity/source/drivers/odbc/OFunctions.cxx
+++ b/connectivity/source/drivers/odbc/OFunctions.cxx
@@ -96,7 +96,7 @@ bool LoadLibrary_ODBC3(OUString &_rPath)
#endif
#ifdef UNX
#ifdef MACOSX
- _rPath = "libiodbc.dylib";
+ _rPath = "libiodbc.dylib";
#else
_rPath = "libodbc.so.1";
pODBCso = osl_loadModule( _rPath.pData,SAL_LOADMODULE_NOW );