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
e77f18f4
Kaydet (Commit)
e77f18f4
authored
Eki 31, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Better warnings when CheckContext() fails
Change-Id: I94627e5b4efda92ac80a618e5aa4b0b33340f4ef
üst
09c53251
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
salgdi2.cxx
vcl/coretext/salgdi2.cxx
+4
-2
No files found.
vcl/coretext/salgdi2.cxx
Dosyayı görüntüle @
e77f18f4
...
...
@@ -828,6 +828,7 @@ bool SvpSalGraphics::CheckContext()
const
basegfx
::
B2IVector
bufferSize
=
m_aDevice
->
getBufferSize
();
const
sal_Int32
scanlineStride
=
m_aDevice
->
getScanlineStride
();
basebmp
::
RawMemorySharedArray
pixelBuffer
=
m_aDevice
->
getBuffer
();
bool
warned
=
false
;
SAL_INFO
(
"vcl.ios"
,
"CheckContext: device="
<<
m_aDevice
.
get
()
<<
...
...
@@ -852,10 +853,11 @@ bool SvpSalGraphics::CheckContext()
kCGImageAlphaNoneSkipLast
);
break
;
default
:
SAL_INFO
(
"vcl.ios"
,
"CheckContext: unsupported color format "
<<
basebmp
::
formatName
(
m_aDevice
->
getScanlineFormat
()
)
);
SAL_WARN
(
"vcl.ios"
,
"CheckContext: unsupported color format "
<<
basebmp
::
formatName
(
m_aDevice
->
getScanlineFormat
()
)
);
warned
=
true
;
}
SAL_WARN_IF
(
mrContext
==
NULL
,
"vcl.ios"
,
"CheckContext
() failed"
);
SAL_WARN_IF
(
mrContext
==
NULL
&&
!
warned
,
"vcl.ios"
,
"CheckContext: CGBitmapContextCreate
() failed"
);
// Should we also clip the context? (Then we need to add a
// getBounds() function to BitmapDevice.)
...
...
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