summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/relationdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-05 08:03:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-05 11:29:54 +0000
commit9866efe3e5a670bab54d931be31e1989aeb382a7 (patch)
tree64b1365a7f1e38b8babdfccee8db100af922ab73 /dbaccess/source/ui/relationdesign
parentloplugin:salbool (diff)
downloadcore-9866efe3e5a670bab54d931be31e1989aeb382a7.tar.gz
core-9866efe3e5a670bab54d931be31e1989aeb382a7.zip
loplugin:constantparam
Change-Id: I821ed77a6c6014c9a82d31a4b117ed6f1b4abf18 Reviewed-on: https://gerrit.libreoffice.org/23832 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r--dbaccess/source/ui/relationdesign/RelationController.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx
index 3572e348f35b..f884dccd4c7c 100644
--- a/dbaccess/source/ui/relationdesign/RelationController.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationController.cxx
@@ -443,18 +443,16 @@ void ORelationController::mergeData(const TTableConnectionData& _aConnectionData
::osl::MutexGuard aGuard( getMutex() );
::std::copy( _aConnectionData.begin(), _aConnectionData.end(), ::std::back_inserter( m_vTableConnectionData ));
- //const Reference< XDatabaseMetaData> xMetaData = getConnection()->getMetaData();
- const bool bCase = true;//xMetaData.is() && xMetaData->supportsMixedCaseQuotedIdentifiers();
// here we are finished, so we can collect the table from connection data
TTableConnectionData::const_iterator aConnDataIter = m_vTableConnectionData.begin();
TTableConnectionData::const_iterator aConnDataEnd = m_vTableConnectionData.end();
for(;aConnDataIter != aConnDataEnd;++aConnDataIter)
{
- if ( !existsTable((*aConnDataIter)->getReferencingTable()->GetComposedName(),bCase) )
+ if ( !existsTable((*aConnDataIter)->getReferencingTable()->GetComposedName()) )
{
m_vTableData.push_back((*aConnDataIter)->getReferencingTable());
}
- if ( !existsTable((*aConnDataIter)->getReferencedTable()->GetComposedName(),bCase) )
+ if ( !existsTable((*aConnDataIter)->getReferencedTable()->GetComposedName()) )
{
m_vTableData.push_back((*aConnDataIter)->getReferencedTable());
}
@@ -533,9 +531,9 @@ void ORelationController::loadData()
}
}
-TTableWindowData::value_type ORelationController::existsTable(const OUString& _rComposedTableName,bool _bCase) const
+TTableWindowData::value_type ORelationController::existsTable(const OUString& _rComposedTableName) const
{
- ::comphelper::UStringMixEqual bCase(_bCase);
+ ::comphelper::UStringMixEqual bCase(true);
TTableWindowData::const_iterator aIter = m_vTableData.begin();
TTableWindowData::const_iterator aEnd = m_vTableData.end();
for(;aIter != aEnd;++aIter)