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
ab9da855
Kaydet (Commit)
ab9da855
authored
May 09, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw_redlinehide: convert SwTextFrame::CalcFootnoteFlag to MergedAttrIter
Change-Id: Ib92ec14baece3a7c99683df9008837525e692760
üst
956ae177
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
txtftn.cxx
sw/source/core/text/txtftn.cxx
+4
-9
No files found.
sw/source/core/text/txtftn.cxx
Dosyayı görüntüle @
ab9da855
...
...
@@ -90,12 +90,6 @@ void SwTextFrame::CalcFootnoteFlag()
{
mbFootnote
=
false
;
const
SwpHints
*
pHints
=
GetTextNode
()
->
GetpSwpHints
();
if
(
!
pHints
)
return
;
const
size_t
nSize
=
pHints
->
Count
();
#ifdef DBG_UTIL
const
TextFrameIndex
nEnd
=
nStop
!=
TextFrameIndex
(
COMPLETE_STRING
)
?
nStop
...
...
@@ -106,12 +100,13 @@ void SwTextFrame::CalcFootnoteFlag()
:
TextFrameIndex
(
COMPLETE_STRING
);
#endif
for
(
size_t
i
=
0
;
i
<
nSize
;
++
i
)
SwTextNode
const
*
pNode
(
nullptr
);
sw
::
MergedAttrIter
iter
(
*
this
);
for
(
SwTextAttr
const
*
pHt
=
iter
.
NextAttr
(
&
pNode
);
pHt
;
pHt
=
iter
.
NextAttr
(
&
pNode
))
{
const
SwTextAttr
*
pHt
=
pHints
->
Get
(
i
);
if
(
pHt
->
Which
()
==
RES_TXTATR_FTN
)
{
const
sal_Int32
nIdx
=
pHt
->
GetStart
(
);
TextFrameIndex
const
nIdx
(
MapModelToView
(
pNode
,
pHt
->
GetStart
())
);
if
(
nEnd
<
nIdx
)
break
;
if
(
GetOfst
()
<=
nIdx
)
...
...
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