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
f7e2f18e
Kaydet (Commit)
f7e2f18e
authored
May 17, 2014
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
avoid segfault when nBrekPos is past the end
Change-Id: Ieedc24c0443ba10d8277cd6327b3b735203e5d45
üst
fcf4b4c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
texteng.cxx
vcl/source/edit/texteng.cxx
+3
-2
No files found.
vcl/source/edit/texteng.cxx
Dosyayı görüntüle @
f7e2f18e
...
...
@@ -1708,8 +1708,9 @@ void TextEngine::ImpBreakLine( sal_uLong nPara, TextLine* pLine, TETextPortion*,
pLine
->
SetEnd
(
nBreakPos
);
sal_uInt16
nEndPortion
=
SplitTextPortion
(
nPara
,
nBreakPos
);
bool
bBlankSeparator
=
(
(
nBreakPos
>=
pLine
->
GetStart
()
)
&&
(
pNode
->
GetText
()[
nBreakPos
]
==
' '
)
);
bool
bBlankSeparator
=
(
nBreakPos
>=
pLine
->
GetStart
()
&&
nBreakPos
<
pNode
->
GetText
().
getLength
()
&&
pNode
->
GetText
()[
nBreakPos
]
==
' '
);
if
(
bBlankSeparator
)
{
// generally suppress blanks at the end of line
...
...
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