From 78ced6235b0a0f043d9e9618cd8758a8e6f34d33 Mon Sep 17 00:00:00 2001 From: Philipp Riemer Date: Sat, 31 Aug 2013 17:56:27 +0200 Subject: fix indentation This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I55ff666c357c89ad355a1a5bc0d0347fcc188476 --- connectivity/source/commontools/dbtools.cxx | 32 +++++++++++----------- .../source/drivers/ado/APreparedStatement.cxx | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 8d295f84a833..341fa30b8981 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -2030,34 +2030,34 @@ void checkDisposed(sal_Bool _bThrow) throw ( DisposedException ) } - OSQLColumns::Vector::const_iterator find( OSQLColumns::Vector::const_iterator __first, +OSQLColumns::Vector::const_iterator find(OSQLColumns::Vector::const_iterator __first, OSQLColumns::Vector::const_iterator __last, const OUString& _rVal, const ::comphelper::UStringMixEqual& _rCase) - { - OUString sName = OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME); - return find(__first,__last,sName,_rVal,_rCase); - } +{ + OUString sName = OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME); + return find(__first,__last,sName,_rVal,_rCase); +} - OSQLColumns::Vector::const_iterator findRealName( OSQLColumns::Vector::const_iterator __first, +OSQLColumns::Vector::const_iterator findRealName(OSQLColumns::Vector::const_iterator __first, OSQLColumns::Vector::const_iterator __last, const OUString& _rVal, const ::comphelper::UStringMixEqual& _rCase) - { - OUString sRealName = OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_REALNAME); - return find(__first,__last,sRealName,_rVal,_rCase); - } +{ + OUString sRealName = OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_REALNAME); + return find(__first,__last,sRealName,_rVal,_rCase); +} - OSQLColumns::Vector::const_iterator find( OSQLColumns::Vector::const_iterator __first, +OSQLColumns::Vector::const_iterator find(OSQLColumns::Vector::const_iterator __first, OSQLColumns::Vector::const_iterator __last, const OUString& _rProp, const OUString& _rVal, const ::comphelper::UStringMixEqual& _rCase) - { - while (__first != __last && !_rCase(getString((*__first)->getPropertyValue(_rProp)),_rVal)) - ++__first; - return __first; - } +{ + while (__first != __last && !_rCase(getString((*__first)->getPropertyValue(_rProp)),_rVal)) + ++__first; + return __first; +} } //namespace connectivity /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index 854abca05f4a..8b5177965189 100644 --- a/connectivity/source/drivers/ado/APreparedStatement.cxx +++ b/connectivity/source/drivers/ado/APreparedStatement.cxx @@ -263,7 +263,7 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery( ) throw(SQLE checkDisposed(OStatement_BASE::rBHelper.bDisposed); // first clear the old things -m_xMetaData.clear(); + m_xMetaData.clear(); disposeResultSet(); if(m_RecordSet.IsValid()) m_RecordSet.Close(); -- cgit