diff options
Diffstat (limited to 'connectivity/source/commontools/dbtools.cxx')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 32 |
1 files changed, 16 insertions, 16 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: */ |