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
2116b92f
Kaydet (Commit)
2116b92f
authored
Haz 03, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: 'convertBaseToScreen:' is deprecated: first deprecated in OS X 10.7
Change-Id: I04cc155e69d25021d294bccc588450b1f20e1fde
üst
74ae541c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
salmenu.cxx
vcl/osx/salmenu.cxx
+4
-0
No files found.
vcl/osx/salmenu.cxx
Dosyayı görüntüle @
2116b92f
...
@@ -880,8 +880,12 @@ Rectangle AquaSalMenu::GetMenuBarButtonRectPixel( sal_uInt16 i_nItemId, SalFrame
...
@@ -880,8 +880,12 @@ Rectangle AquaSalMenu::GetMenuBarButtonRectPixel( sal_uInt16 i_nItemId, SalFrame
if
(
!
pNSWin
)
if
(
!
pNSWin
)
return
Rectangle
();
return
Rectangle
();
#if MACOSX_SDK_VERSION >= 1070
NSRect
aRect
=
[
pNSWin
convertRectToScreen
:
[
pNSWin
frame
]];
#else
NSRect
aRect
=
[
pNSWin
frame
];
NSRect
aRect
=
[
pNSWin
frame
];
aRect
.
origin
=
[
pNSWin
convertBaseToScreen
:
NSMakePoint
(
0
,
0
)];
aRect
.
origin
=
[
pNSWin
convertBaseToScreen
:
NSMakePoint
(
0
,
0
)];
#endif
// make coordinates relative to reference frame
// make coordinates relative to reference frame
static_cast
<
AquaSalFrame
*>
(
i_pReferenceFrame
)
->
CocoaToVCL
(
aRect
.
origin
);
static_cast
<
AquaSalFrame
*>
(
i_pReferenceFrame
)
->
CocoaToVCL
(
aRect
.
origin
);
...
...
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