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
1199f99b
Kaydet (Commit)
1199f99b
authored
Haz 22, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
Haz 25, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert fields in class SwUpdFtnEndNtAtEnd from Svptrarr to std::vector
Change-Id: I67631707788ec273b994d59db6e08aabb6b62991
üst
3a92dc80
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
ftnidx.hxx
sw/inc/ftnidx.hxx
+2
-2
ftnidx.cxx
sw/source/core/doc/ftnidx.cxx
+4
-5
No files found.
sw/inc/ftnidx.hxx
Dosyayı görüntüle @
1199f99b
...
...
@@ -58,11 +58,11 @@ public:
class
SwUpdFtnEndNtAtEnd
{
SvPtrarr
aFtnSects
,
aEndSects
;
std
::
vector
<
const
SwSectionNode
*>
aFtnSects
,
aEndSects
;
std
::
vector
<
sal_uInt16
>
aFtnNums
,
aEndNums
;
public
:
SwUpdFtnEndNtAtEnd
()
:
aFtnSects
(
0
),
aEndSects
(
0
)
{}
SwUpdFtnEndNtAtEnd
()
:
aFtnSects
(
),
aEndSects
(
)
{}
static
const
SwSectionNode
*
FindSectNdWithEndAttr
(
const
SwTxtFtn
&
rTxtFtn
);
...
...
sw/source/core/doc/ftnidx.cxx
Dosyayı görüntüle @
1199f99b
...
...
@@ -338,7 +338,7 @@ sal_uInt16 SwUpdFtnEndNtAtEnd::GetNumber( const SwTxtFtn& rTxtFtn,
const
SwSectionNode
&
rNd
)
{
sal_uInt16
nRet
=
0
,
nWh
;
SvPtrarr
*
pArr
;
std
::
vector
<
const
SwSectionNode
*>
*
pArr
;
std
::
vector
<
sal_uInt16
>
*
pNum
;
if
(
rTxtFtn
.
GetFtn
().
IsEndNote
()
)
{
...
...
@@ -352,10 +352,9 @@ sal_uInt16 SwUpdFtnEndNtAtEnd::GetNumber( const SwTxtFtn& rTxtFtn,
pNum
=
&
aFtnNums
;
nWh
=
RES_FTN_AT_TXTEND
;
}
void
*
pNd
=
(
void
*
)
&
rNd
;
for
(
sal_uInt16
n
=
pArr
->
Count
();
n
;
)
if
(
pArr
->
GetObject
(
--
n
)
==
p
Nd
)
for
(
sal_uInt16
n
=
pArr
->
size
();
n
;
)
if
(
(
*
pArr
)[
--
n
]
==
&
r
Nd
)
{
nRet
=
++
((
*
pNum
)[
n
]);
break
;
...
...
@@ -363,7 +362,7 @@ sal_uInt16 SwUpdFtnEndNtAtEnd::GetNumber( const SwTxtFtn& rTxtFtn,
if
(
!
nRet
)
{
pArr
->
Insert
(
pNd
,
pArr
->
Count
()
);
pArr
->
push_back
(
&
rNd
);
nRet
=
((
SwFmtFtnEndAtTxtEnd
&
)
rNd
.
GetSection
().
GetFmt
()
->
GetFmtAttr
(
nWh
)).
GetOffset
();
++
nRet
;
...
...
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