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
de13902e
Kaydet (Commit)
de13902e
authored
Mar 31, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to size_t/sal_Int32
Change-Id: I59f0100b96208ced0a372dee2aa405bdb3cbccd9
üst
9dc61827
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
label1.cxx
sw/source/ui/envelp/label1.cxx
+12
-12
No files found.
sw/source/ui/envelp/label1.cxx
Dosyayı görüntüle @
de13902e
...
...
@@ -140,7 +140,7 @@ SwLabDlg::SwLabDlg(Window* pParent, const SfxItemSet& rSet,
bool
bDouble
=
false
;
for
(
s
al_uInt16
nRecPos
=
0
;
nRecPos
<
pRecs
->
size
();
nRecPos
++
)
for
(
s
ize_t
nRecPos
=
0
;
nRecPos
<
pRecs
->
size
();
++
nRecPos
)
{
if
(
pRec
->
aMake
==
(
*
pRecs
)[
nRecPos
]
->
aMake
&&
pRec
->
aType
==
(
*
pRecs
)[
nRecPos
]
->
aType
)
...
...
@@ -155,9 +155,9 @@ SwLabDlg::SwLabDlg(Window* pParent, const SfxItemSet& rSet,
else
delete
pRec
;
s
al_uInt16
nLstGroup
=
0
;
s
ize_t
nLstGroup
=
0
;
const
std
::
vector
<
OUString
>&
rMan
=
aLabelsCfg
.
GetManufacturers
();
for
(
s
al_uInt16
nMan
=
0
;
nMan
<
rMan
.
size
();
nMan
++
)
for
(
s
ize_t
nMan
=
0
;
nMan
<
rMan
.
size
();
++
nMan
)
{
aMakes
.
push_back
(
rMan
[
nMan
]);
if
(
rMan
[
nMan
]
==
aItem
.
aLstMake
)
...
...
@@ -203,8 +203,8 @@ SwLabRec* SwLabDlg::GetRecord(const OUString &rRecName, sal_Bool bCont)
bool
bFound
=
false
;
OUString
sCustom
(
SW_RES
(
STR_CUSTOM
));
const
s
al_uInt16
nCount
=
Recs
().
size
();
for
(
s
al_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
const
s
ize_t
nCount
=
Recs
().
size
();
for
(
s
ize_t
i
=
0
;
i
<
nCount
;
++
i
)
{
pRec
=
Recs
()[
i
];
if
(
pRec
->
aType
!=
sCustom
&&
...
...
@@ -274,7 +274,7 @@ SwLabPage::SwLabPage(Window* pParent, const SfxItemSet& rSet)
size_t
nLstGroup
=
0
;
const
s
al_uInt16
nCount
=
(
sal_uInt16
)
GetParentSwLabDlg
()
->
Makes
().
size
();
const
s
ize_t
nCount
=
GetParentSwLabDlg
()
->
Makes
().
size
();
for
(
size_t
i
=
0
;
i
<
nCount
;
++
i
)
{
OUString
&
rStr
=
GetParentSwLabDlg
()
->
Makes
()[
i
];
...
...
@@ -357,12 +357,12 @@ IMPL_LINK_NOARG(SwLabPage, MakeHdl)
aItem
.
aLstMake
=
aMake
;
const
sal_Bool
bCont
=
m_pContButton
->
IsChecked
();
const
s
al_uInt16
nCount
=
GetParentSwLabDlg
()
->
Recs
().
size
();
sal_uInt16
nLstType
=
0
;
const
s
ize_t
nCount
=
GetParentSwLabDlg
()
->
Recs
().
size
();
size_t
nLstType
=
0
;
const
OUString
sCustom
(
SW_RES
(
STR_CUSTOM
));
//insert the entries into the sorted list box
for
(
s
al_uInt16
i
=
0
;
i
<
nCount
;
++
i
)
for
(
s
ize_t
i
=
0
;
i
<
nCount
;
++
i
)
{
const
OUString
aType
(
GetParentSwLabDlg
()
->
Recs
()[
i
]
->
aType
);
bool
bInsert
=
false
;
...
...
@@ -386,7 +386,7 @@ IMPL_LINK_NOARG(SwLabPage, MakeHdl)
nLstType
=
GetParentSwLabDlg
()
->
TypeIds
().
size
();
}
}
for
(
sal_
uInt16
nEntry
=
0
;
nEntry
<
m_pHiddenSortTypeBox
->
GetEntryCount
();
nEntry
++
)
for
(
sal_
Int32
nEntry
=
0
;
nEntry
<
m_pHiddenSortTypeBox
->
GetEntryCount
();
++
nEntry
)
{
m_pTypeBox
->
InsertEntry
(
m_pHiddenSortTypeBox
->
GetEntry
(
nEntry
));
}
...
...
@@ -588,7 +588,7 @@ SwVisitingCardPage::SwVisitingCardPage(Window* pParent, const SfxItemSet& rSet)
SwVisitingCardPage
::~
SwVisitingCardPage
()
{
for
(
sal_
uInt16
i
=
0
;
i
<
m_pAutoTextGroupLB
->
GetEntryCount
();
i
++
)
for
(
sal_
Int32
i
=
0
;
i
<
m_pAutoTextGroupLB
->
GetEntryCount
();
++
i
)
delete
(
OUString
*
)
m_pAutoTextGroupLB
->
GetEntryData
(
i
);
m_xAutoText
=
0
;
...
...
@@ -665,7 +665,7 @@ void SwVisitingCardPage::Reset(const SfxItemSet& rSet)
aLabItem
=
(
const
SwLabItem
&
)
rSet
.
Get
(
FN_LABEL
);
bool
bFound
=
false
;
sal_
uInt16
i
;
sal_
Int32
i
;
for
(
i
=
0
;
i
<
m_pAutoTextGroupLB
->
GetEntryCount
()
&&
!
bFound
;
i
++
)
if
(
aLabItem
.
sGlossaryGroup
==
*
(
const
OUString
*
)
m_pAutoTextGroupLB
->
GetEntryData
(
i
))
{
...
...
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