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
57aaf302
Kaydet (Commit)
57aaf302
authored
Nis 12, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid reserved identifier
Change-Id: Ie3e28611003ae51ba4d0278cec41744f2ca08223
üst
1c2c47ca
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
ftnidx.hxx
sw/inc/ftnidx.hxx
+1
-1
docftn.cxx
sw/source/core/doc/docftn.cxx
+2
-2
ftnidx.cxx
sw/source/core/doc/ftnidx.cxx
+3
-3
ndsect.cxx
sw/source/core/docnode/ndsect.cxx
+2
-2
rolbck.cxx
sw/source/core/undo/rolbck.cxx
+1
-1
No files found.
sw/inc/ftnidx.hxx
Dosyayı görüntüle @
57aaf302
...
...
@@ -30,7 +30,7 @@ class SwSectionNode;
// Everywhere where NodeIndex is used, the header files missing here
// are already included. Therefore put here as defines only and
// not as inline methods (saves compile time).
#define
_
SwTextFootnote_GetIndex( pFIdx ) (pFIdx->GetTextNode().GetIndex())
#define SwTextFootnote_GetIndex( pFIdx ) (pFIdx->GetTextNode().GetIndex())
struct
CompareSwFootnoteIdxs
{
...
...
sw/source/core/doc/docftn.cxx
Dosyayı görüntüle @
57aaf302
...
...
@@ -417,7 +417,7 @@ bool SwDoc::SetCurFootnote( const SwPaM& rPam, const OUString& rNumStr,
bool
bTypeChgd
=
false
;
const
size_t
nPosSave
=
nPos
;
while
(
nPos
<
rFootnoteArr
.
size
()
&&
((
nIdx
=
_
SwTextFootnote_GetIndex
((
pTextFootnote
=
rFootnoteArr
[
nPos
++
]
)))
((
nIdx
=
SwTextFootnote_GetIndex
((
pTextFootnote
=
rFootnoteArr
[
nPos
++
]
)))
<
nEndNd
||
(
nIdx
==
nEndNd
&&
nEndCnt
>=
pTextFootnote
->
GetStart
()
))
)
if
(
nIdx
>
nSttNd
||
(
nIdx
==
nSttNd
&&
...
...
@@ -447,7 +447,7 @@ bool SwDoc::SetCurFootnote( const SwPaM& rPam, const OUString& rNumStr,
nPos
=
nPosSave
;
// There are more in the front!
while
(
nPos
&&
((
nIdx
=
_
SwTextFootnote_GetIndex
((
pTextFootnote
=
rFootnoteArr
[
--
nPos
]
)))
((
nIdx
=
SwTextFootnote_GetIndex
((
pTextFootnote
=
rFootnoteArr
[
--
nPos
]
)))
>
nSttNd
||
(
nIdx
==
nSttNd
&&
nSttCnt
<=
pTextFootnote
->
GetStart
()
))
)
if
(
nIdx
<
nEndNd
||
(
nIdx
==
nEndNd
&&
...
...
sw/source/core/doc/ftnidx.cxx
Dosyayı görüntüle @
57aaf302
...
...
@@ -31,8 +31,8 @@
bool
CompareSwFootnoteIdxs
::
operator
()(
SwTextFootnote
*
const
&
lhs
,
SwTextFootnote
*
const
&
rhs
)
const
{
sal_uLong
nIdxLHS
=
_
SwTextFootnote_GetIndex
(
lhs
);
sal_uLong
nIdxRHS
=
_
SwTextFootnote_GetIndex
(
rhs
);
sal_uLong
nIdxLHS
=
SwTextFootnote_GetIndex
(
lhs
);
sal_uLong
nIdxRHS
=
SwTextFootnote_GetIndex
(
rhs
);
return
(
nIdxLHS
==
nIdxRHS
&&
lhs
->
GetStart
()
<
rhs
->
GetStart
()
)
||
nIdxLHS
<
nIdxRHS
;
}
...
...
@@ -256,7 +256,7 @@ SwTextFootnote* SwFootnoteIdxs::SeekEntry( const SwNodeIndex& rPos, size_t* pFnd
while
(
nU
<=
nO
)
{
const
size_t
nM
=
nU
+
(
nO
-
nU
)
/
2
;
sal_uLong
nNdIdx
=
_
SwTextFootnote_GetIndex
(
(
*
this
)[
nM
]
);
sal_uLong
nNdIdx
=
SwTextFootnote_GetIndex
(
(
*
this
)[
nM
]
);
if
(
nNdIdx
==
nIdx
)
{
if
(
pFndPos
)
...
...
sw/source/core/docnode/ndsect.cxx
Dosyayı görüntüle @
57aaf302
...
...
@@ -758,7 +758,7 @@ void sw_DeleteFootnote( SwSectionNode *pNd, sal_uLong nStt, sal_uLong nEnd )
// Delete all succeeding Footnotes
while
(
nPos
<
rFootnoteArr
.
size
()
&&
_
SwTextFootnote_GetIndex
(
(
pSrch
=
rFootnoteArr
[
nPos
])
)
<=
nEnd
)
SwTextFootnote_GetIndex
(
(
pSrch
=
rFootnoteArr
[
nPos
])
)
<=
nEnd
)
{
// If the Nodes are not deleted, they need to deregister at the Pages
// (delete Frames) or else they will remain there (Undo does not delete them!)
...
...
@@ -767,7 +767,7 @@ void sw_DeleteFootnote( SwSectionNode *pNd, sal_uLong nStt, sal_uLong nEnd )
}
while
(
nPos
--
&&
_
SwTextFootnote_GetIndex
(
(
pSrch
=
rFootnoteArr
[
nPos
])
)
>=
nStt
)
SwTextFootnote_GetIndex
(
(
pSrch
=
rFootnoteArr
[
nPos
])
)
>=
nStt
)
{
// If the Nodes are not deleted, they need to deregister at the Pages
// (delete Frames) or else they will remain there (Undo does not delete them!)
...
...
sw/source/core/undo/rolbck.cxx
Dosyayı görüntüle @
57aaf302
...
...
@@ -439,7 +439,7 @@ SwHistorySetFootnote::SwHistorySetFootnote( SwTextFootnote* pTextFootnote, sal_u
SwHistorySetFootnote
::
SwHistorySetFootnote
(
const
SwTextFootnote
&
rTextFootnote
)
:
SwHistoryHint
(
HSTRY_SETFTNHNT
)
,
m_FootnoteNumber
(
rTextFootnote
.
GetFootnote
().
GetNumStr
()
)
,
m_nNodeIndex
(
_
SwTextFootnote_GetIndex
(
(
&
rTextFootnote
)
)
)
,
m_nNodeIndex
(
SwTextFootnote_GetIndex
(
(
&
rTextFootnote
)
)
)
,
m_nStart
(
rTextFootnote
.
GetStart
()
)
,
m_bEndNote
(
rTextFootnote
.
GetFootnote
().
IsEndNote
()
)
{
...
...
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