summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-12-12 09:11:12 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2012-12-12 16:34:47 +0100
commit2ee4b892ef50825365a829697efb22679f7e7a28 (patch)
tree90b5d25f81c69ba2c4e516d2d988cfc986278513 /dbaccess
parent85d46bdbd0e59a219742b9cbd8a92b19b22e4068 (diff)
argument has no effect anymore -> remove
Change-Id: I91f8f552b1324b57ce75e96b858b7a3379decb20
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/inc/TableConnectionData.hxx5
-rw-r--r--dbaccess/source/ui/querydesign/TableConnectionData.cxx6
2 files changed, 5 insertions, 6 deletions
diff --git a/dbaccess/source/ui/inc/TableConnectionData.hxx b/dbaccess/source/ui/inc/TableConnectionData.hxx
index e3e45db9310b..4af28d8bdacd 100644
--- a/dbaccess/source/ui/inc/TableConnectionData.hxx
+++ b/dbaccess/source/ui/inc/TableConnectionData.hxx
@@ -72,10 +72,9 @@ namespace dbaui
sal_Bool SetConnLine( sal_uInt16 nIndex, const String& rSourceFieldName, const String& rDestFieldName );
sal_Bool AppendConnLine( const ::rtl::OUString& rSourceFieldName, const ::rtl::OUString& rDestFieldName );
- /** Deletes list of ConnLines; if bUseDefaults == true
- MAX_CONN_COUNT new dummy lines will be inserted.
+ /** Deletes list of ConnLines
*/
- void ResetConnLines( sal_Bool bUseDefaults = sal_True );
+ void ResetConnLines();
/** moves the empty lines to the back
*/
diff --git a/dbaccess/source/ui/querydesign/TableConnectionData.cxx b/dbaccess/source/ui/querydesign/TableConnectionData.cxx
index b64da5f02e0a..e813cd53ab37 100644
--- a/dbaccess/source/ui/querydesign/TableConnectionData.cxx
+++ b/dbaccess/source/ui/querydesign/TableConnectionData.cxx
@@ -51,7 +51,7 @@ void OTableConnectionData::Init()
//////////////////////////////////////////////////////////////////////
// LineDataList mit Defaults initialisieren
OSL_ENSURE(m_vConnLineData.empty(), "OTableConnectionData::Init() : nur mit leere Linienliste aufzurufen !");
- ResetConnLines(sal_True);
+ ResetConnLines();
// das legt Defaults an
}
//------------------------------------------------------------------------
@@ -86,7 +86,7 @@ OTableConnectionData& OTableConnectionData::operator=( const OTableConnectionDat
m_aConnName = rConnData.GetConnName();
// clear line list
- ResetConnLines(sal_False);
+ ResetConnLines();
// und kopieren
OConnectionLineDataVec* pLineData = const_cast<OTableConnectionData*>(&rConnData)->GetConnLineDataList();
@@ -140,7 +140,7 @@ sal_Bool OTableConnectionData::AppendConnLine( const ::rtl::OUString& rSourceFie
}
//------------------------------------------------------------------------
-void OTableConnectionData::ResetConnLines( sal_Bool /*bUseDefaults*/ )
+void OTableConnectionData::ResetConnLines()
{
OConnectionLineDataVec().swap(m_vConnLineData);
}