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
b8d18c1b
Kaydet (Commit)
b8d18c1b
authored
Eki 14, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CID#738972 use after free
Change-Id: I3c1329a55b53365945406c515ff4e8e72792dcb6
üst
5d4c63c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
lwpfrib.cxx
lotuswordpro/source/filter/lwpfrib.cxx
+9
-3
No files found.
lotuswordpro/source/filter/lwpfrib.cxx
Dosyayı görüntüle @
b8d18c1b
...
...
@@ -255,8 +255,11 @@ void LwpFrib::RegisterStyle(LwpFoundry* pFoundry)
pStyle
->
SetStyleName
(
A2OUSTR
(
""
));
pFont
=
pFoundry
->
GetFontManger
()
->
CreateOverrideFont
(
pCharStyle
->
GetFinalFontID
(),
m_pModifiers
->
FontID
);
pStyle
->
SetFont
(
pFont
);
m_StyleName
=
pXFStyleManager
->
AddStyle
(
pStyle
)
->
GetStyleName
();
}
IXFStyle
*
pNewStyle
=
pXFStyleManager
->
AddStyle
(
pStyle
);
m_StyleName
=
pNewStyle
->
GetStyleName
();
if
(
pNewStyle
!=
pStyle
)
pStyle
=
NULL
;
}
else
m_StyleName
=
pNamedStyle
->
GetStyleName
();
}
...
...
@@ -267,7 +270,10 @@ void LwpFrib::RegisterStyle(LwpFoundry* pFoundry)
pStyle
=
new
XFTextStyle
();
pFont
=
pFoundry
->
GetFontManger
()
->
CreateFont
(
m_pModifiers
->
FontID
);
pStyle
->
SetFont
(
pFont
);
m_StyleName
=
pXFStyleManager
->
AddStyle
(
pStyle
)
->
GetStyleName
();
IXFStyle
*
pNewStyle
=
pXFStyleManager
->
AddStyle
(
pStyle
);
m_StyleName
=
pNewStyle
->
GetStyleName
();
if
(
pNewStyle
!=
pStyle
)
pStyle
=
NULL
;
}
}
...
...
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