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
59a585e3
Kaydet (Commit)
59a585e3
authored
May 09, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw_redlinehide: trivial conversions in itrtxt.cxx
Change-Id: Ia61fbdff0aa87669e643fa7d3d3fe08e23becd74
üst
b72e09d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
itrtxt.cxx
sw/source/core/text/itrtxt.cxx
+6
-4
No files found.
sw/source/core/text/itrtxt.cxx
Dosyayı görüntüle @
59a585e3
...
...
@@ -206,7 +206,7 @@ const SwLineLayout *SwTextCursor::CharCursorToLine(TextFrameIndex const nPositio
bRightMargin
=
false
;
bool
bPrevious
=
bRightMargin
&&
m_pCurr
->
GetLen
()
&&
GetPrev
()
&&
GetPrev
()
->
GetLen
();
if
(
bPrevious
&&
nPosition
&&
CH_BREAK
==
GetInfo
().
GetChar
(
nPosition
-
1
)
)
if
(
bPrevious
&&
nPosition
&&
CH_BREAK
==
GetInfo
().
GetChar
(
nPosition
-
TextFrameIndex
(
1
))
)
bPrevious
=
false
;
return
bPrevious
?
PrevLine
()
:
m_pCurr
;
}
...
...
@@ -317,7 +317,7 @@ static bool lcl_NeedsFieldRest( const SwLineLayout* pCurr )
void
SwTextIter
::
TruncLines
(
bool
bNoteFollow
)
{
SwLineLayout
*
pDel
=
m_pCurr
->
GetNext
();
const
sal_Int32
nEnd
=
m_nStart
+
m_pCurr
->
GetLen
();
TextFrameIndex
const
nEnd
=
m_nStart
+
m_pCurr
->
GetLen
();
if
(
pDel
)
{
...
...
@@ -332,7 +332,7 @@ void SwTextIter::TruncLines( bool bNoteFollow )
if
(
pFollow
&&
!
pFollow
->
IsLocked
()
&&
nEnd
==
pFollow
->
GetOfst
()
)
{
sal_Int32
nRangeEnd
=
nEnd
;
TextFrameIndex
nRangeEnd
=
nEnd
;
SwLineLayout
*
pLine
=
pDel
;
// determine range to be searched for flys anchored as characters
...
...
@@ -363,8 +363,10 @@ void SwTextIter::TruncLines( bool bNoteFollow )
}
if
(
m_pCurr
->
IsDummy
()
&&
!
m_pCurr
->
GetLen
()
&&
m_nStart
<
GetTextFrame
()
->
GetText
().
getLength
()
)
m_nStart
<
TextFrameIndex
(
GetTextFrame
()
->
GetText
().
getLength
()))
{
m_pCurr
->
SetRealHeight
(
1
);
}
if
(
GetHints
()
)
m_pFrame
->
RemoveFootnote
(
nEnd
);
}
...
...
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