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
d4d0b1a2
Kaydet (Commit)
d4d0b1a2
authored
Ara 31, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ofz#4848 Null-dereference READ
Change-Id: I632aca7e3f59b7edf48c8c35eff4abf1946af652
üst
45e5b5da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
swhtml.cxx
sw/source/filter/html/swhtml.cxx
+3
-3
No files found.
sw/source/filter/html/swhtml.cxx
Dosyayı görüntüle @
d4d0b1a2
...
...
@@ -1462,10 +1462,10 @@ void SwHTMLParser::NextToken( HtmlTokenId nToken )
if
(
!
aToken
.
isEmpty
()
&&
' '
==
aToken
[
0
]
&&
!
IsReadPRE
()
)
{
sal_Int32
nPos
=
m_pPam
->
GetPoint
()
->
nContent
.
GetIndex
();
if
(
nPos
)
const
SwTextNode
*
pTextNode
=
nPos
?
m_pPam
->
GetPoint
()
->
nNode
.
GetNode
().
GetTextNode
()
:
nullptr
;
if
(
pTextNode
)
{
const
OUString
&
rText
=
m_pPam
->
GetPoint
()
->
nNode
.
GetNode
().
GetTextNode
()
->
GetText
();
const
OUString
&
rText
=
pTextNode
->
GetText
();
sal_Unicode
cLast
=
rText
[
--
nPos
];
if
(
' '
==
cLast
||
'\x0a'
==
cLast
)
aToken
=
aToken
.
copy
(
1
);
...
...
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