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
040407e2
Kaydet (Commit)
040407e2
authored
Ara 02, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1396675 Dereference null return value
Change-Id: I5280ae6021b1a1d905c8e4af69b1342df4a69aa8
üst
6a80d33b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
fontmanager.cxx
vcl/unx/generic/fontmanager/fontmanager.cxx
+6
-3
No files found.
vcl/unx/generic/fontmanager/fontmanager.cxx
Dosyayı görüntüle @
040407e2
...
@@ -902,9 +902,12 @@ int PrintFontManager::getFontFaceNumber( fontID nFontID ) const
...
@@ -902,9 +902,12 @@ int PrintFontManager::getFontFaceNumber( fontID nFontID ) const
{
{
int
nRet
=
0
;
int
nRet
=
0
;
PrintFont
*
pFont
=
getFont
(
nFontID
);
PrintFont
*
pFont
=
getFont
(
nFontID
);
nRet
=
pFont
->
m_nCollectionEntry
;
if
(
pFont
)
if
(
nRet
<
0
)
{
nRet
=
0
;
nRet
=
pFont
->
m_nCollectionEntry
;
if
(
nRet
<
0
)
nRet
=
0
;
}
return
nRet
;
return
nRet
;
}
}
...
...
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