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
636813a0
Kaydet (Commit)
636813a0
authored
Nis 20, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to sal_Int32 and constify
Change-Id: Ib1c3b33acf2b38c47d1c20a74c9454d8206cac82
üst
5253b04c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
swuiccoll.cxx
sw/source/ui/chrdlg/swuiccoll.cxx
+6
-6
No files found.
sw/source/ui/chrdlg/swuiccoll.cxx
Dosyayı görüntüle @
636813a0
...
...
@@ -73,8 +73,8 @@ SwCondCollPage::SwCondCollPage(Window *pParent, const SfxItemSet &rSet)
get
(
m_pRemovePB
,
"remove"
);
get
(
m_pAssignPB
,
"apply"
);
sal_uInt16
nStrCount
=
m_pFilterLB
->
GetEntryCount
();
for
(
sal_
uInt16
i
=
0
;
i
<
nStrCount
;
++
i
)
const
sal_Int32
nStrCount
=
m_pFilterLB
->
GetEntryCount
();
for
(
sal_
Int32
i
=
0
;
i
<
nStrCount
;
++
i
)
m_aStrArr
.
push_back
(
m_pFilterLB
->
GetEntry
(
i
));
m_pFilterLB
->
Clear
();
...
...
@@ -102,7 +102,7 @@ SwCondCollPage::SwCondCollPage(Window *pParent, const SfxItemSet &rSet)
size_t
nCount
=
aFamilies
.
size
();
for
(
size_t
i
=
0
;
i
<
nCount
;
++
i
)
{
if
(
SFX_STYLE_FAMILY_PARA
==
(
sal_uInt16
)(
pFamilyItem
=
aFamilies
.
at
(
i
))
->
GetFamily
())
if
(
SFX_STYLE_FAMILY_PARA
==
(
pFamilyItem
=
aFamilies
.
at
(
i
))
->
GetFamily
())
break
;
}
...
...
@@ -124,7 +124,7 @@ SwCondCollPage::SwCondCollPage(Window *pParent, const SfxItemSet &rSet)
SwCondCollPage
::~
SwCondCollPage
()
{
for
(
sal_
uInt16
i
=
0
;
i
<
m_pFilterLB
->
GetEntryCount
();
++
i
)
for
(
sal_
Int32
i
=
0
;
i
<
m_pFilterLB
->
GetEntryCount
();
++
i
)
delete
(
sal_uInt16
*
)
m_pFilterLB
->
GetEntryData
(
i
);
}
...
...
@@ -252,8 +252,8 @@ IMPL_LINK( SwCondCollPage, SelectHdl, ListBox*, pBox)
if
(
pBox
==
m_pFilterLB
)
{
m_pStyleLB
->
Clear
();
sal_uInt16
nSearchFlag
s
=
pBox
->
GetSelectEntryPos
();
nSearchFlags
=
*
(
sal_uInt16
*
)
m_pFilterLB
->
GetEntryData
(
nSearchFlag
s
);
const
sal_Int32
nSelPo
s
=
pBox
->
GetSelectEntryPos
();
const
sal_uInt16
nSearchFlags
=
*
(
sal_uInt16
*
)
m_pFilterLB
->
GetEntryData
(
nSelPo
s
);
SfxStyleSheetBasePool
*
pPool
=
rSh
.
GetView
().
GetDocShell
()
->
GetStyleSheetPool
();
pPool
->
SetSearchMask
(
SFX_STYLE_FAMILY_PARA
,
nSearchFlags
);
const
SfxStyleSheetBase
*
pBase
=
pPool
->
First
();
...
...
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