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
fe9cce94
Kaydet (Commit)
fe9cce94
authored
Eyl 21, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CID#1000697 out of bounds access
Change-Id: I59f80463aa13e3c28695112165343f93366cfec4
üst
74441e73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
docfmt.cxx
sw/source/core/doc/docfmt.cxx
+9
-1
No files found.
sw/source/core/doc/docfmt.cxx
Dosyayı görüntüle @
fe9cce94
...
@@ -585,7 +585,15 @@ lcl_InsAttr(SwDoc *const pDoc, const SwPaM &rRg, const SfxItemSet& rChgSet,
...
@@ -585,7 +585,15 @@ lcl_InsAttr(SwDoc *const pDoc, const SwPaM &rRg, const SfxItemSet& rChgSet,
return
false
;
return
false
;
}
}
SwNumFmt
aNumFmt
=
pNumRule
->
Get
(
static_cast
<
sal_uInt16
>
(
pTxtNd
->
GetActualListLevel
()));
int
nLevel
=
pTxtNd
->
GetActualListLevel
();
if
(
nLevel
<
0
)
nLevel
=
0
;
if
(
nLevel
>=
MAXLEVEL
)
nLevel
=
MAXLEVEL
-
1
;
SwNumFmt
aNumFmt
=
pNumRule
->
Get
(
static_cast
<
sal_uInt16
>
(
nLevel
));
SwCharFmt
*
pCharFmt
=
SwCharFmt
*
pCharFmt
=
pDoc
->
FindCharFmtByName
(
aNumFmt
.
GetCharFmtName
());
pDoc
->
FindCharFmtByName
(
aNumFmt
.
GetCharFmtName
());
...
...
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