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
cb0eb72e
Kaydet (Commit)
cb0eb72e
authored
Eki 26, 2017
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
blind attempt to fix build on big endian
Change-Id: I4dc2d5a5fbbded5f4c7a1417c150fe6b1a73a69d
üst
4ef04974
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
emfphelperdata.cxx
drawinglayer/source/tools/emfphelperdata.cxx
+15
-0
No files found.
drawinglayer/source/tools/emfphelperdata.cxx
Dosyayı görüntüle @
cb0eb72e
...
@@ -42,6 +42,21 @@
...
@@ -42,6 +42,21 @@
namespace
emfplushelper
namespace
emfplushelper
{
{
#ifdef OSL_BIGENDIAN
// little endian <-> big endian switch
static
float
GetSwapFloat
(
SvStream
&
rStream
)
{
float
fTmp
;
sal_Int8
*
pPtr
=
(
sal_Int8
*
)
&
fTmp
;
rStream
.
ReadSChar
(
pPtr
[
3
]);
rStream
.
ReadSChar
(
pPtr
[
2
]);
rStream
.
ReadSChar
(
pPtr
[
1
]);
rStream
.
ReadSChar
(
pPtr
[
0
]);
return
fTmp
;
}
#endif
const
char
*
emfTypeToName
(
sal_uInt16
type
)
const
char
*
emfTypeToName
(
sal_uInt16
type
)
{
{
switch
(
type
)
switch
(
type
)
...
...
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