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
e2dab2bb
Kaydet (Commit)
e2dab2bb
authored
Ara 26, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ofz#4794 Null-dereference
Change-Id: I2fc9f5ca60c2a476c031befd0253b1829538230d
üst
f03ad9ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
htmltab.cxx
sw/source/filter/html/htmltab.cxx
+12
-7
No files found.
sw/source/filter/html/htmltab.cxx
Dosyayı görüntüle @
e2dab2bb
...
...
@@ -3926,13 +3926,18 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions,
{
const
SwEndNode
*
pEndNd
=
pStNd
->
EndOfSectionNode
();
SwContentNode
*
pCNd
=
m_xDoc
->
GetNodes
()[
pEndNd
->
GetIndex
()
-
1
]
->
GetContentNode
();
//Added defaults to CJK and CTL
SvxFontHeightItem
aFontHeight
(
40
,
100
,
RES_CHRATR_FONTSIZE
);
pCNd
->
SetAttr
(
aFontHeight
);
SvxFontHeightItem
aFontHeightCJK
(
40
,
100
,
RES_CHRATR_CJK_FONTSIZE
);
pCNd
->
SetAttr
(
aFontHeightCJK
);
SvxFontHeightItem
aFontHeightCTL
(
40
,
100
,
RES_CHRATR_CTL_FONTSIZE
);
pCNd
->
SetAttr
(
aFontHeightCTL
);
if
(
!
pCNd
)
eState
=
SvParserState
::
Error
;
else
{
//Added defaults to CJK and CTL
SvxFontHeightItem
aFontHeight
(
40
,
100
,
RES_CHRATR_FONTSIZE
);
pCNd
->
SetAttr
(
aFontHeight
);
SvxFontHeightItem
aFontHeightCJK
(
40
,
100
,
RES_CHRATR_CJK_FONTSIZE
);
pCNd
->
SetAttr
(
aFontHeightCJK
);
SvxFontHeightItem
aFontHeightCTL
(
40
,
100
,
RES_CHRATR_CTL_FONTSIZE
);
pCNd
->
SetAttr
(
aFontHeightCTL
);
}
}
xSaveStruct
->
AddContents
(
new
HTMLTableCnts
(
pStNd
)
);
...
...
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