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
c4ecc15b
Kaydet (Commit)
c4ecc15b
authored
Şub 13, 2014
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fast scale doubling of biptmap mess up mac retina but is needed otherwise
Change-Id: I3d4a4bbbd85719fbf1422d9397727dd73bd09f37
üst
29a95776
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
toolbox2.cxx
vcl/source/window/toolbox2.cxx
+14
-0
No files found.
vcl/source/window/toolbox2.cxx
Dosyayı görüntüle @
c4ecc15b
...
@@ -1379,6 +1379,20 @@ void ToolBox::SetItemImage( sal_uInt16 nItemId, const Image& rImage )
...
@@ -1379,6 +1379,20 @@ void ToolBox::SetItemImage( sal_uInt16 nItemId, const Image& rImage )
{
{
Image
aImage
(
rImage
);
Image
aImage
(
rImage
);
#ifndef MACOSX
if
(
GetDPIScaleFactor
()
>
1
)
{
BitmapEx
aBitmap
(
aImage
.
GetBitmapEx
());
// Some code calls this twice, so add a sanity check
// FIXME find out what that code is & fix accordingly
if
(
aBitmap
.
GetSizePixel
().
Width
()
<
32
)
{
aBitmap
.
Scale
(
GetDPIScaleFactor
(),
GetDPIScaleFactor
(),
BMP_SCALE_FAST
);
aImage
=
Image
(
aBitmap
);
}
}
#endif
ImplToolItem
*
pItem
=
&
mpData
->
m_aItems
[
nPos
];
ImplToolItem
*
pItem
=
&
mpData
->
m_aItems
[
nPos
];
// Nur wenn alles berechnet ist, mehr Aufwand treiben
// Nur wenn alles berechnet ist, mehr Aufwand treiben
if
(
!
mbCalc
)
if
(
!
mbCalc
)
...
...
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