Kaydet (Commit) 3e3dbd14 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

argument has no effect anymore -> remove

Change-Id: I91f8f552b1324b57ce75e96b858b7a3379decb20
üst 236be16a
...@@ -72,10 +72,9 @@ namespace dbaui ...@@ -72,10 +72,9 @@ namespace dbaui
sal_Bool SetConnLine( sal_uInt16 nIndex, const String& rSourceFieldName, const String& rDestFieldName ); sal_Bool SetConnLine( sal_uInt16 nIndex, const String& rSourceFieldName, const String& rDestFieldName );
sal_Bool AppendConnLine( const ::rtl::OUString& rSourceFieldName, const ::rtl::OUString& rDestFieldName ); sal_Bool AppendConnLine( const ::rtl::OUString& rSourceFieldName, const ::rtl::OUString& rDestFieldName );
/** Deletes list of ConnLines; if bUseDefaults == true /** Deletes list of ConnLines
MAX_CONN_COUNT new dummy lines will be inserted.
*/ */
void ResetConnLines( sal_Bool bUseDefaults = sal_True ); void ResetConnLines();
/** moves the empty lines to the back /** moves the empty lines to the back
*/ */
......
...@@ -51,7 +51,7 @@ void OTableConnectionData::Init() ...@@ -51,7 +51,7 @@ void OTableConnectionData::Init()
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// LineDataList mit Defaults initialisieren // LineDataList mit Defaults initialisieren
OSL_ENSURE(m_vConnLineData.empty(), "OTableConnectionData::Init() : nur mit leere Linienliste aufzurufen !"); OSL_ENSURE(m_vConnLineData.empty(), "OTableConnectionData::Init() : nur mit leere Linienliste aufzurufen !");
ResetConnLines(sal_True); ResetConnLines();
// das legt Defaults an // das legt Defaults an
} }
//------------------------------------------------------------------------ //------------------------------------------------------------------------
...@@ -86,7 +86,7 @@ OTableConnectionData& OTableConnectionData::operator=( const OTableConnectionDat ...@@ -86,7 +86,7 @@ OTableConnectionData& OTableConnectionData::operator=( const OTableConnectionDat
m_aConnName = rConnData.GetConnName(); m_aConnName = rConnData.GetConnName();
// clear line list // clear line list
ResetConnLines(sal_False); ResetConnLines();
// und kopieren // und kopieren
OConnectionLineDataVec* pLineData = const_cast<OTableConnectionData*>(&rConnData)->GetConnLineDataList(); OConnectionLineDataVec* pLineData = const_cast<OTableConnectionData*>(&rConnData)->GetConnLineDataList();
...@@ -140,7 +140,7 @@ sal_Bool OTableConnectionData::AppendConnLine( const ::rtl::OUString& rSourceFie ...@@ -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); OConnectionLineDataVec().swap(m_vConnLineData);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment