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
16b7354f
Kaydet (Commit)
16b7354f
authored
Ock 13, 2012
tarafından
August Sodora
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SvStringsDtor->std::vector
üst
f1de38b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
authfld.hxx
sw/inc/authfld.hxx
+1
-1
authfld.cxx
sw/source/core/fields/authfld.cxx
+2
-3
swuiidxmrk.cxx
sw/source/ui/index/swuiidxmrk.cxx
+6
-6
No files found.
sw/inc/authfld.hxx
Dosyayı görüntüle @
16b7354f
...
...
@@ -107,7 +107,7 @@ public:
const
SwAuthEntry
*
GetEntryByHandle
(
long
nHandle
)
const
;
void
GetAllEntryIdentifiers
(
SvStringsDtor
&
rToFill
)
const
;
void
GetAllEntryIdentifiers
(
std
::
vector
<
String
>
&
rToFill
)
const
;
const
SwAuthEntry
*
GetEntryByIdentifier
(
const
String
&
rIdentifier
)
const
;
bool
ChangeEntryContent
(
const
SwAuthEntry
*
pNewEntry
);
...
...
sw/source/core/fields/authfld.cxx
Dosyayı görüntüle @
16b7354f
...
...
@@ -218,13 +218,12 @@ const SwAuthEntry* SwAuthorityFieldType::GetEntryByHandle(long nHandle) const
}
void
SwAuthorityFieldType
::
GetAllEntryIdentifiers
(
SvStringsDtor
&
rToFill
)
const
std
::
vector
<
String
>
&
rToFill
)
const
{
for
(
sal_uInt16
j
=
0
;
j
<
m_pDataArr
->
Count
();
j
++
)
{
SwAuthEntry
*
pTemp
=
m_pDataArr
->
GetObject
(
j
);
rToFill
.
Insert
(
new
String
(
pTemp
->
GetAuthorField
(
AUTH_FIELD_IDENTIFIER
)),
rToFill
.
Count
()
);
rToFill
.
push_back
(
pTemp
->
GetAuthorField
(
AUTH_FIELD_IDENTIFIER
));
}
}
...
...
sw/source/ui/index/swuiidxmrk.cxx
Dosyayı görüntüle @
16b7354f
...
...
@@ -1477,10 +1477,10 @@ IMPL_LINK(SwAuthMarkDlg, ChangeSourceHdl, RadioButton*, pButton)
pSh
->
GetFldType
(
RES_AUTHORITY
,
aEmptyStr
);
if
(
pFType
)
{
SvStringsDtor
aIds
;
std
::
vector
<
String
>
aIds
;
pFType
->
GetAllEntryIdentifiers
(
aIds
);
for
(
s
al_uInt16
n
=
0
;
n
<
aIds
.
Count
();
n
++
)
aEntryLB
.
InsertEntry
(
*
aIds
.
GetObject
(
n
)
);
for
(
s
ize_t
n
=
0
;
n
<
aIds
.
size
();
++
n
)
aEntryLB
.
InsertEntry
(
aIds
[
n
]
);
}
if
(
m_sCreatedEntry
[
AUTH_FIELD_IDENTIFIER
].
Len
())
aEntryLB
.
InsertEntry
(
m_sCreatedEntry
[
AUTH_FIELD_IDENTIFIER
]);
...
...
@@ -1656,10 +1656,10 @@ SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(Window* pParent,
rSh
.
GetFldType
(
RES_AUTHORITY
,
aEmptyStr
);
if
(
pFType
)
{
SvStringsDtor
aIds
;
std
::
vector
<
String
>
aIds
;
pFType
->
GetAllEntryIdentifiers
(
aIds
);
for
(
s
al_uInt16
n
=
0
;
n
<
aIds
.
Count
();
n
++
)
pIdentifierBox
->
InsertEntry
(
*
aIds
.
GetObject
(
n
)
);
for
(
s
ize_t
n
=
0
;
n
<
aIds
.
size
();
++
n
)
pIdentifierBox
->
InsertEntry
(
aIds
[
n
]
);
}
pIdentifierBox
->
SetText
(
pFields
[
aCurInfo
.
nToxField
]);
Size
aTmp
(
aEditSize
);
...
...
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