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
51890613
Kaydet (Commit)
51890613
authored
Mar 21, 2013
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: use OSL_BIGENDIAN
Change-Id: Ifdf54d30cca94d0d65d78f94d5fac31edf8c6df2
üst
ec8ada02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
graphite_features.cxx
vcl/source/glyphs/graphite_features.cxx
+3
-2
No files found.
vcl/source/glyphs/graphite_features.cxx
Dosyayı görüntüle @
51890613
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <sal/types.h>
#include <sal/types.h>
#include <osl/endian.h>
#ifdef WNT
#ifdef WNT
#include <windows.h>
#include <windows.h>
...
@@ -88,7 +89,7 @@ GrFeatureParser::GrFeatureParser(const gr_face * pFace, const ::rtl::OString fea
...
@@ -88,7 +89,7 @@ GrFeatureParser::GrFeatureParser(const gr_face * pFace, const ::rtl::OString fea
gr_uint32
nFaceLang
=
gr_face_lang_by_index
(
pFace
,
i
);
gr_uint32
nFaceLang
=
gr_face_lang_by_index
(
pFace
,
i
);
FeatId
aSupportedLang
;
FeatId
aSupportedLang
;
aSupportedLang
.
num
=
nFaceLang
;
aSupportedLang
.
num
=
nFaceLang
;
#ifdef
__BIG_ENDIAN__
#ifdef
OSL_BIGENDIAN
// here we only expect full 3 letter codes
// here we only expect full 3 letter codes
if
(
aLang
.
label
[
0
]
==
aSupportedLang
.
label
[
0
]
&&
if
(
aLang
.
label
[
0
]
==
aSupportedLang
.
label
[
0
]
&&
aLang
.
label
[
1
]
==
aSupportedLang
.
label
[
1
]
&&
aLang
.
label
[
1
]
==
aSupportedLang
.
label
[
1
]
&&
...
@@ -163,7 +164,7 @@ void GrFeatureParser::setLang(const gr_face * pFace, const rtl::OString & lang)
...
@@ -163,7 +164,7 @@ void GrFeatureParser::setLang(const gr_face * pFace, const rtl::OString & lang)
FeatId
aSupportedLang
;
FeatId
aSupportedLang
;
aSupportedLang
.
num
=
nFaceLang
;
aSupportedLang
.
num
=
nFaceLang
;
// here we only expect full 2 & 3 letter codes
// here we only expect full 2 & 3 letter codes
#ifdef
__BIG_ENDIAN__
#ifdef
OSL_BIGENDIAN
if
(
aLang
.
label
[
0
]
==
aSupportedLang
.
label
[
0
]
&&
if
(
aLang
.
label
[
0
]
==
aSupportedLang
.
label
[
0
]
&&
aLang
.
label
[
1
]
==
aSupportedLang
.
label
[
1
]
&&
aLang
.
label
[
1
]
==
aSupportedLang
.
label
[
1
]
&&
aLang
.
label
[
2
]
==
aSupportedLang
.
label
[
2
]
&&
aLang
.
label
[
2
]
==
aSupportedLang
.
label
[
2
]
&&
...
...
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