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
352bb1fe
Kaydet (Commit)
352bb1fe
authored
Nis 03, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Constify some variables
Change-Id: Ibc513d125ce792170d9310359539ed4336b6dab6
üst
4fb4e733
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
uiregionsw.cxx
sw/source/ui/dialog/uiregionsw.cxx
+7
-7
No files found.
sw/source/ui/dialog/uiregionsw.cxx
Dosyayı görüntüle @
352bb1fe
...
@@ -73,7 +73,7 @@ static void lcl_FillList( SwWrtShell& rSh, ComboBox& rSubRegions, ComboBox* pAva
...
@@ -73,7 +73,7 @@ static void lcl_FillList( SwWrtShell& rSh, ComboBox& rSubRegions, ComboBox* pAva
const
SwSectionFmt
*
pFmt
;
const
SwSectionFmt
*
pFmt
;
if
(
!
pNewFmt
)
if
(
!
pNewFmt
)
{
{
sal_uInt16
nCount
=
rSh
.
GetSectionFmtCount
();
const
sal_uInt16
nCount
=
rSh
.
GetSectionFmtCount
();
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
{
{
SectionType
eTmpType
;
SectionType
eTmpType
;
...
@@ -93,7 +93,7 @@ static void lcl_FillList( SwWrtShell& rSh, ComboBox& rSubRegions, ComboBox* pAva
...
@@ -93,7 +93,7 @@ static void lcl_FillList( SwWrtShell& rSh, ComboBox& rSubRegions, ComboBox* pAva
else
else
{
{
SwSections
aTmpArr
;
SwSections
aTmpArr
;
sal_uInt16
nCnt
=
pNewFmt
->
GetChildSections
(
aTmpArr
,
SORTSECT_POS
);
const
sal_uInt16
nCnt
=
pNewFmt
->
GetChildSections
(
aTmpArr
,
SORTSECT_POS
);
if
(
nCnt
)
if
(
nCnt
)
{
{
SectionType
eTmpType
;
SectionType
eTmpType
;
...
@@ -452,7 +452,7 @@ void SwEditRegionDlg::RecurseList( const SwSectionFmt* pFmt, SvTreeListEntry* pE
...
@@ -452,7 +452,7 @@ void SwEditRegionDlg::RecurseList( const SwSectionFmt* pFmt, SvTreeListEntry* pE
if
(
!
pFmt
)
if
(
!
pFmt
)
{
{
sal_uInt16
nCount
=
rSh
.
GetSectionFmtCount
();
const
sal_uInt16
nCount
=
rSh
.
GetSectionFmtCount
();
for
(
sal_uInt16
n
=
0
;
n
<
nCount
;
n
++
)
for
(
sal_uInt16
n
=
0
;
n
<
nCount
;
n
++
)
{
{
SectionType
eTmpType
;
SectionType
eTmpType
;
...
@@ -478,7 +478,7 @@ void SwEditRegionDlg::RecurseList( const SwSectionFmt* pFmt, SvTreeListEntry* pE
...
@@ -478,7 +478,7 @@ void SwEditRegionDlg::RecurseList( const SwSectionFmt* pFmt, SvTreeListEntry* pE
{
{
SwSections
aTmpArr
;
SwSections
aTmpArr
;
SvTreeListEntry
*
pNEntry
;
SvTreeListEntry
*
pNEntry
;
sal_uInt16
nCnt
=
pFmt
->
GetChildSections
(
aTmpArr
,
SORTSECT_POS
);
const
sal_uInt16
nCnt
=
pFmt
->
GetChildSections
(
aTmpArr
,
SORTSECT_POS
);
if
(
nCnt
)
if
(
nCnt
)
{
{
for
(
sal_uInt16
n
=
0
;
n
<
nCnt
;
++
n
)
for
(
sal_uInt16
n
=
0
;
n
<
nCnt
;
++
n
)
...
@@ -515,7 +515,7 @@ void SwEditRegionDlg::RecurseList( const SwSectionFmt* pFmt, SvTreeListEntry* pE
...
@@ -515,7 +515,7 @@ void SwEditRegionDlg::RecurseList( const SwSectionFmt* pFmt, SvTreeListEntry* pE
sal_uInt16
SwEditRegionDlg
::
FindArrPos
(
const
SwSectionFmt
*
pFmt
)
sal_uInt16
SwEditRegionDlg
::
FindArrPos
(
const
SwSectionFmt
*
pFmt
)
{
{
sal_uInt16
nCount
=
rSh
.
GetSectionFmtCount
();
const
sal_uInt16
nCount
=
rSh
.
GetSectionFmtCount
();
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
if
(
pFmt
==&
rSh
.
GetSectionFmt
(
i
))
if
(
pFmt
==&
rSh
.
GetSectionFmt
(
i
))
return
i
;
return
i
;
...
@@ -808,7 +808,7 @@ IMPL_LINK_NOARG(SwEditRegionDlg, OkHdl)
...
@@ -808,7 +808,7 @@ IMPL_LINK_NOARG(SwEditRegionDlg, OkHdl)
for
(
SectReprArr
::
reverse_iterator
aI
=
aSectReprArr
.
rbegin
(),
aEnd
=
aSectReprArr
.
rend
();
aI
!=
aEnd
;
++
aI
)
for
(
SectReprArr
::
reverse_iterator
aI
=
aSectReprArr
.
rbegin
(),
aEnd
=
aSectReprArr
.
rend
();
aI
!=
aEnd
;
++
aI
)
{
{
SwSectionFmt
*
pFmt
=
aOrigArray
[
aI
->
GetArrPos
()
];
SwSectionFmt
*
pFmt
=
aOrigArray
[
aI
->
GetArrPos
()
];
sal_uInt16
nNewPos
=
rDocFmts
.
GetPos
(
pFmt
);
const
sal_uInt16
nNewPos
=
rDocFmts
.
GetPos
(
pFmt
);
if
(
USHRT_MAX
!=
nNewPos
)
if
(
USHRT_MAX
!=
nNewPos
)
rSh
.
DelSectionFmt
(
nNewPos
);
rSh
.
DelSectionFmt
(
nNewPos
);
}
}
...
@@ -1979,7 +1979,7 @@ void SwSectionFtnEndTabPage::ResetState( sal_Bool bFtn,
...
@@ -1979,7 +1979,7 @@ void SwSectionFtnEndTabPage::ResetState( sal_Bool bFtn,
pOffsetFld
=
pEndOffsetFld
;
pOffsetFld
=
pEndOffsetFld
;
}
}
sal_uInt16
eState
=
rAttr
.
GetValue
();
const
sal_uInt16
eState
=
rAttr
.
GetValue
();
switch
(
eState
)
switch
(
eState
)
{
{
case
FTNEND_ATTXTEND_OWNNUMANDFMT
:
case
FTNEND_ATTXTEND_OWNNUMANDFMT
:
...
...
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