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:37:20 +0100
commit3e3dbd1411878e5f83e35567f1f62a1e2f3d7986 (patch)
treefc937541f824be17d10eb38f1f84604e34d2d25d /dbaccess
parent236be16a385832258f38fbd19bd1b32ddc538fd4 (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);
}