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
9ac9625c
Kaydet (Commit)
9ac9625c
authored
Tem 23, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No KillPicture() in the 10.7 SDK, so just leak for now...
üst
aef42e16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
PictToBmpFlt.cxx
vcl/aqua/source/dtrans/PictToBmpFlt.cxx
+12
-0
No files found.
vcl/aqua/source/dtrans/PictToBmpFlt.cxx
Dosyayı görüntüle @
9ac9625c
...
...
@@ -118,10 +118,22 @@ bool BMPtoPICT(com::sun::star::uno::Sequence<sal_Int8>& aBmp,
rtl_copyMemory
(
aPict
.
getArray
(),
((
sal_Int8
*
)
*
hPict
),
sz
);
HUnlock
((
Handle
)
hPict
);
#if MACOSX_SDK_VERSION < 1070
// Release the data associated with the picture
// Note: This function is deprecated in Mac OS X
// 10.4.
// How nice. This whole thing needs to be rewritten I guess. Or
// does this code even get invoked on current OSes? Given that
// KillPicture() was deprecated already in 10.4, back when
// somebody was actually working on this code, hopefulluy
// knowing what he/she was doing, was it really not known that
// the stuff used here is going to go away?
KillPicture
(
hPict
);
#else
SAL_WARN
(
"vcl"
,
"Here we used to call the deprecated KillPicture(), no idea what to do, so leaking..."
);
#endif
result
=
true
;
}
...
...
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