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
80297dd0
Kaydet (Commit)
80297dd0
authored
Ara 09, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
guard against no default text style
Change-Id: I7416d709de79ae88cf4a9546d8adfecec9935238
üst
7e48820c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lwptoc.cxx
lotuswordpro/source/filter/lwptoc.cxx
+2
-1
No files found.
lotuswordpro/source/filter/lwptoc.cxx
Dosyayı görüntüle @
80297dd0
...
...
@@ -125,7 +125,8 @@ void LwpTocSuperLayout::RegisterStyle()
LwpSuperTableLayout
::
RegisterStyle
();
// Get font info of default text style and set into tab style
XFParaStyle
*
pBaseStyle
=
static_cast
<
XFParaStyle
*>
(
m_pFoundry
->
GetStyleManager
()
->
GetStyle
(
*
m_pFoundry
->
GetDefaultTextStyle
()));
const
LwpObjectID
*
pDefaultTextStyle
=
m_pFoundry
->
GetDefaultTextStyle
();
XFParaStyle
*
pBaseStyle
=
pDefaultTextStyle
?
static_cast
<
XFParaStyle
*>
(
m_pFoundry
->
GetStyleManager
()
->
GetStyle
(
*
pDefaultTextStyle
))
:
nullptr
;
XFTextStyle
*
pTextStyle
=
new
XFTextStyle
;
if
(
pBaseStyle
)
pTextStyle
->
SetFont
(
pBaseStyle
->
GetFont
());
// who delete this font?????
...
...
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