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
6dd4cfee
Kaydet (Commit)
6dd4cfee
authored
Eki 09, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CID#736199 out of bounds
Change-Id: I77123f6641dc1166820e3e9da583b331af53641d
üst
a6baaa65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ndtxt.cxx
sw/source/core/txtnode/ndtxt.cxx
+9
-1
No files found.
sw/source/core/txtnode/ndtxt.cxx
Dosyayı görüntüle @
6dd4cfee
...
@@ -3892,10 +3892,18 @@ bool SwTxtNode::HasVisibleNumberingOrBullet() const
...
@@ -3892,10 +3892,18 @@ bool SwTxtNode::HasVisibleNumberingOrBullet() const
const
SwNumRule
*
pRule
=
GetNum
()
?
GetNum
()
->
GetNumRule
()
:
0L
;
const
SwNumRule
*
pRule
=
GetNum
()
?
GetNum
()
->
GetNumRule
()
:
0L
;
if
(
pRule
&&
IsCountedInList
())
if
(
pRule
&&
IsCountedInList
())
{
{
int
nLevel
=
GetActualListLevel
();
if
(
nLevel
<
0
)
nLevel
=
0
;
if
(
nLevel
>=
MAXLEVEL
)
nLevel
=
MAXLEVEL
-
1
;
// #i87154#
// #i87154#
// Correction of #newlistlevelattrs#:
// Correction of #newlistlevelattrs#:
// The numbering type has to be checked for bullet lists.
// The numbering type has to be checked for bullet lists.
const
SwNumFmt
&
rFmt
=
pRule
->
Get
(
static_cast
<
sal_uInt16
>
(
GetActualListLevel
()
));
const
SwNumFmt
&
rFmt
=
pRule
->
Get
(
static_cast
<
sal_uInt16
>
(
nLevel
));
return
SVX_NUM_NUMBER_NONE
!=
rFmt
.
GetNumberingType
()
||
return
SVX_NUM_NUMBER_NONE
!=
rFmt
.
GetNumberingType
()
||
!
pRule
->
MakeNumString
(
*
(
GetNum
())
).
isEmpty
();
!
pRule
->
MakeNumString
(
*
(
GetNum
())
).
isEmpty
();
}
}
...
...
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