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
65dd87d8
Kaydet (Commit)
65dd87d8
authored
May 29, 2013
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i122388 Corrected old fix to mentioned bounds
üst
c726a12e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
transfer.cxx
svtools/source/misc/transfer.cxx
+7
-1
No files found.
svtools/source/misc/transfer.cxx
Dosyayı görüntüle @
65dd87d8
...
@@ -1867,9 +1867,15 @@ sal_Bool TransferableDataHelper::GetBitmapEx( const DataFlavor& rFlavor, BitmapE
...
@@ -1867,9 +1867,15 @@ sal_Bool TransferableDataHelper::GetBitmapEx( const DataFlavor& rFlavor, BitmapE
{
{
const
Size
aSize
(
OutputDevice
::
LogicToLogic
(
rBmpEx
.
GetPrefSize
(),
aMapMode
,
MAP_100TH_MM
));
const
Size
aSize
(
OutputDevice
::
LogicToLogic
(
rBmpEx
.
GetPrefSize
(),
aMapMode
,
MAP_100TH_MM
));
if
((
aSize
.
Width
()
>
5000
)
||
(
aSize
.
Height
()
>
5000
))
// #122388# This wrongly corrects in the given case; changing from 5000 100th mm to
// the described 50 cm (which is 50000 100th mm)
if
((
aSize
.
Width
()
>
50000
)
||
(
aSize
.
Height
()
>
50000
))
{
{
rBmpEx
.
SetPrefMapMode
(
MAP_PIXEL
);
rBmpEx
.
SetPrefMapMode
(
MAP_PIXEL
);
// #122388# also adapt size by applying the mew MapMode
const
Size
aNewSize
(
OutputDevice
::
LogicToLogic
(
aSize
,
MAP_100TH_MM
,
MAP_PIXEL
));
rBmpEx
.
SetPrefSize
(
aNewSize
);
}
}
}
}
}
}
...
...
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