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
b6e354b2
Kaydet (Commit)
b6e354b2
authored
Kas 25, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: warn if we can't set a new font in OutputDevice
Change-Id: I7708590d0c8564271f76e8b80adc566022e6916e
üst
a508f639
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
font.cxx
vcl/source/outdev/font.cxx
+6
-0
No files found.
vcl/source/outdev/font.cxx
Dosyayı görüntüle @
b6e354b2
...
@@ -1546,7 +1546,10 @@ bool OutputDevice::ImplNewFont() const
...
@@ -1546,7 +1546,10 @@ bool OutputDevice::ImplNewFont() const
// we need a graphics
// we need a graphics
if
(
!
mpGraphics
&&
!
AcquireGraphics
()
)
if
(
!
mpGraphics
&&
!
AcquireGraphics
()
)
{
SAL_WARN
(
"vcl.gdi"
,
"OutputDevice::ImplNewFont(): no Graphics, no Font"
);
return
false
;
return
false
;
}
SalGraphics
*
pGraphics
=
mpGraphics
;
SalGraphics
*
pGraphics
=
mpGraphics
;
ImplInitFontList
();
ImplInitFontList
();
...
@@ -1577,7 +1580,10 @@ bool OutputDevice::ImplNewFont() const
...
@@ -1577,7 +1580,10 @@ bool OutputDevice::ImplNewFont() const
ImplFontEntry
*
pFontEntry
=
mpFontEntry
;
ImplFontEntry
*
pFontEntry
=
mpFontEntry
;
if
(
!
pFontEntry
)
if
(
!
pFontEntry
)
{
SAL_WARN
(
"vcl.gdi"
,
"OutputDevice::ImplNewFont(): no ImplFontEntry, no Font"
);
return
false
;
return
false
;
}
// mark when lower layers need to get involved
// mark when lower layers need to get involved
mbNewFont
=
false
;
mbNewFont
=
false
;
...
...
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