Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3e3dbd14
Kaydet (Commit)
3e3dbd14
authored
Ara 12, 2012
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
argument has no effect anymore -> remove
Change-Id: I91f8f552b1324b57ce75e96b858b7a3379decb20
üst
236be16a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
TableConnectionData.hxx
dbaccess/source/ui/inc/TableConnectionData.hxx
+2
-3
TableConnectionData.cxx
dbaccess/source/ui/querydesign/TableConnectionData.cxx
+3
-3
No files found.
dbaccess/source/ui/inc/TableConnectionData.hxx
Dosyayı görüntüle @
3e3dbd14
...
@@ -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
*/
*/
...
...
dbaccess/source/ui/querydesign/TableConnectionData.cxx
Dosyayı görüntüle @
3e3dbd14
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment