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
4a42b727
Kaydet (Commit)
4a42b727
authored
Haz 04, 2011
tarafından
Rafael Dominguez
Kaydeden (comit)
Petr Mladek
Haz 09, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace List with std::vector<String>.
üst
6372a90a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
21 deletions
+11
-21
scabstdlg.hxx
sc/inc/scabstdlg.hxx
+1
-1
scdlgfact.cxx
sc/source/ui/attrdlg/scdlgfact.cxx
+2
-2
scdlgfact.hxx
sc/source/ui/attrdlg/scdlgfact.hxx
+1
-1
lbseldlg.hxx
sc/source/ui/inc/lbseldlg.hxx
+1
-1
lbseldlg.cxx
sc/source/ui/miscdlgs/lbseldlg.cxx
+4
-7
cellsh2.cxx
sc/source/ui/view/cellsh2.cxx
+2
-9
No files found.
sc/inc/scabstdlg.hxx
Dosyayı görüntüle @
4a42b727
...
...
@@ -394,7 +394,7 @@ public:
sal_uInt16
nResId
,
const
String
&
aTitle
,
const
String
&
aLbTitle
,
List
&
a
EntryList
,
const
std
::
vector
<
String
>
&
r
EntryList
,
int
nId
)
=
0
;
virtual
AbstractScLinkedAreaDlg
*
CreateScLinkedAreaDlg
(
Window
*
pParent
,
int
nId
)
=
0
;
//add for ScLinkedAreaDlg
...
...
sc/source/ui/attrdlg/scdlgfact.cxx
Dosyayı görüntüle @
4a42b727
...
...
@@ -1062,14 +1062,14 @@ AbstractScSelEntryDlg * ScAbstractDialogFactory_Impl::CreateScSelEntryDlg ( Wind
sal_uInt16
nResId
,
const
String
&
aTitle
,
const
String
&
aLbTitle
,
List
&
a
EntryList
,
const
std
::
vector
<
String
>
&
r
EntryList
,
int
nId
)
{
ScSelEntryDlg
*
pDlg
=
NULL
;
switch
(
nId
)
{
case
RID_SCDLG_SELECTDB
:
pDlg
=
new
ScSelEntryDlg
(
pParent
,
nResId
,
aTitle
,
aLbTitle
,
a
EntryList
);
pDlg
=
new
ScSelEntryDlg
(
pParent
,
nResId
,
aTitle
,
aLbTitle
,
r
EntryList
);
break
;
default
:
break
;
...
...
sc/source/ui/attrdlg/scdlgfact.hxx
Dosyayı görüntüle @
4a42b727
...
...
@@ -476,7 +476,7 @@ public:
sal_uInt16
nResId
,
const
String
&
aTitle
,
const
String
&
aLbTitle
,
List
&
a
EntryList
,
const
std
::
vector
<
String
>
&
r
EntryList
,
int
nId
);
virtual
AbstractScLinkedAreaDlg
*
CreateScLinkedAreaDlg
(
Window
*
pParent
,
//add for ScLinkedAreaDlg
...
...
sc/source/ui/inc/lbseldlg.hxx
Dosyayı görüntüle @
4a42b727
...
...
@@ -56,7 +56,7 @@ public:
sal_uInt16
nResId
,
const
String
&
aTitle
,
const
String
&
aLbTitle
,
List
&
a
EntryList
);
const
std
::
vector
<
String
>
&
r
EntryList
);
~
ScSelEntryDlg
();
String
GetSelectEntry
()
const
;
...
...
sc/source/ui/miscdlgs/lbseldlg.cxx
Dosyayı görüntüle @
4a42b727
...
...
@@ -48,7 +48,7 @@ ScSelEntryDlg::ScSelEntryDlg( Window* pParent,
sal_uInt16
nResId
,
const
String
&
aTitle
,
const
String
&
aLbTitle
,
List
&
a
EntryList
)
:
const
std
::
vector
<
String
>
&
r
EntryList
)
:
ModalDialog
(
pParent
,
ScResId
(
nResId
)
),
//
aFlLbTitle
(
this
,
ScResId
(
FL_ENTRYLIST
)
),
...
...
@@ -62,12 +62,9 @@ ScSelEntryDlg::ScSelEntryDlg( Window* pParent,
aLb
.
Clear
();
aLb
.
SetDoubleClickHdl
(
LINK
(
this
,
ScSelEntryDlg
,
DblClkHdl
)
);
void
*
pListEntry
=
aEntryList
.
First
();
while
(
pListEntry
)
{
aLb
.
InsertEntry
(
*
((
String
*
)
pListEntry
)
);
pListEntry
=
aEntryList
.
Next
();
}
std
::
vector
<
String
>::
const_iterator
pIter
;
for
(
pIter
=
rEntryList
.
begin
();
pIter
!=
rEntryList
.
end
();
++
pIter
)
aLb
.
InsertEntry
(
*
pIter
);
if
(
aLb
.
GetEntryCount
()
>
0
)
aLb
.
SelectEntryPos
(
0
);
...
...
sc/source/ui/view/cellsh2.cxx
Dosyayı görüntüle @
4a42b727
...
...
@@ -723,11 +723,11 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
if
(
pDBCol
)
{
List
aList
;
std
::
vector
<
String
>
aList
;
const
ScDBCollection
::
NamedDBs
&
rDBs
=
pDBCol
->
getNamedDBs
();
ScDBCollection
::
NamedDBs
::
const_iterator
itr
=
rDBs
.
begin
(),
itrEnd
=
rDBs
.
end
();
for
(;
itr
!=
itrEnd
;
++
itr
)
aList
.
Insert
(
new
String
(
itr
->
GetName
()
));
aList
.
push_back
(
itr
->
GetName
(
));
ScAbstractDialogFactory
*
pFact
=
ScAbstractDialogFactory
::
Create
();
OSL_ENSURE
(
pFact
,
"ScAbstractFactory create fail!"
);
...
...
@@ -748,13 +748,6 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
}
delete
pDlg
;
void
*
pEntry
=
aList
.
First
();
while
(
pEntry
)
{
delete
(
String
*
)
aList
.
Remove
(
pEntry
);
pEntry
=
aList
.
Next
();
}
}
}
}
...
...
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