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
0d4ee442
Kaydet (Commit)
0d4ee442
authored
Şub 27, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#61309: writerfilter: filter out enormous numbering levels
Change-Id: Iafef1c2ca2ca072bd604946fbe19b6a24e323512
üst
b440cfcc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
unoobj.cxx
sw/source/core/unocore/unoobj.cxx
+5
-0
DomainMapper.cxx
writerfilter/source/dmapper/DomainMapper.cxx
+6
-1
No files found.
sw/source/core/unocore/unoobj.cxx
Dosyayı görüntüle @
0d4ee442
...
...
@@ -535,6 +535,11 @@ throw (lang::IllegalArgumentException)
sal_Int16
nLevel
=
0
;
if
(
rValue
>>=
nLevel
)
{
if
(
nLevel
<
0
||
MAXLEVEL
<=
nLevel
)
{
throw
lang
::
IllegalArgumentException
(
"invalid NumberingLevel"
,
0
,
0
);
}
pTxtNd
->
SetAttrListLevel
(
nLevel
);
}
}
...
...
writerfilter/source/dmapper/DomainMapper.cxx
Dosyayı görüntüle @
0d4ee442
...
...
@@ -1540,7 +1540,12 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext, SprmType
case
NS_sprm
:
:
LN_PBrcp
:
break
;
// sprmPBrcp
case
NS_sprm
:
:
LN_PIlvl
:
// sprmPIlvl
//todo: Numbering level will be implemented in the near future (OOo 3.0?)
if
(
nIntValue
<
0
||
10
<=
nIntValue
)
// Writer can't do everything
{
SAL_INFO
(
"writerfilter"
,
"unsupported numbering level "
<<
nIntValue
);
break
;
}
if
(
m_pImpl
->
IsStyleSheetImport
()
)
{
//style sheets cannot have a numbering rule attached
...
...
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