summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/dbtools.cxx32
-rw-r--r--connectivity/source/drivers/ado/APreparedStatement.cxx2
2 files changed, 17 insertions, 17 deletions
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();