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
fcae5e41
Kaydet (Commit)
fcae5e41
authored
Kas 21, 2011
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: i#86517 avoid crash on invalid LEVELTEXT
üst
0218f147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+5
-1
No files found.
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
fcae5e41
...
@@ -2794,7 +2794,11 @@ int RTFDocumentImpl::popState()
...
@@ -2794,7 +2794,11 @@ int RTFDocumentImpl::popState()
// The first character is the length of the string (the rest should be ignored).
// The first character is the length of the string (the rest should be ignored).
sal_Int32
nLength
(
aStr
.
toChar
());
sal_Int32
nLength
(
aStr
.
toChar
());
OUString
aValue
=
aStr
.
copy
(
1
,
nLength
);
OUString
aValue
;
if
(
nLength
<=
aStr
.
getLength
())
aValue
=
aStr
.
copy
(
1
,
nLength
);
else
aValue
=
aStr
;
RTFValue
::
Pointer_t
pValue
(
new
RTFValue
(
aValue
,
true
));
RTFValue
::
Pointer_t
pValue
(
new
RTFValue
(
aValue
,
true
));
m_aStates
.
top
().
aTableAttributes
->
push_back
(
make_pair
(
NS_ooxml
::
LN_CT_LevelText_val
,
pValue
));
m_aStates
.
top
().
aTableAttributes
->
push_back
(
make_pair
(
NS_ooxml
::
LN_CT_LevelText_val
,
pValue
));
...
...
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