diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-11-06 13:01:55 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-11-07 01:34:38 +0100 |
commit | 94d31d9ad1513504bb1415f0cfe70be380e18b9a (patch) | |
tree | 92bb6a2a61c8185045f7ffd4fec1ad7f0ce1d8cd | |
parent | configure: no need to put OSVERSION in environment (diff) | |
download | core-94d31d9ad1513504bb1415f0cfe70be380e18b9a.tar.gz core-94d31d9ad1513504bb1415f0cfe70be380e18b9a.zip |
vcl: WORDS_BIGENDIAN is never defined, use OSL_BIGENDIAN
Change-Id: I5186904b9703d6c9c49ca4c3b4a62f83423b1ae1
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.cxx | 2 | ||||
-rw-r--r-- | vcl/source/glyphs/graphite_features.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx index 384de84505f5..abfa77578086 100644 --- a/vcl/generic/glyphs/gcach_ftyp.cxx +++ b/vcl/generic/glyphs/gcach_ftyp.cxx @@ -205,7 +205,7 @@ const void * graphiteFontTable(const void* appFaceHandle, unsigned int name, siz } TableId; TableId tableId; tableId.m_id = name; -#ifndef WORDS_BIGENDIAN +#ifndef OSL_BIGENDIAN TableId swapped; swapped.m_c[3] = tableId.m_c[0]; swapped.m_c[2] = tableId.m_c[1]; diff --git a/vcl/source/glyphs/graphite_features.cxx b/vcl/source/glyphs/graphite_features.cxx index 609c88bbf698..690193146f8d 100644 --- a/vcl/source/glyphs/graphite_features.cxx +++ b/vcl/source/glyphs/graphite_features.cxx @@ -219,7 +219,7 @@ gr_uint32 GrFeatureParser::getCharId(const OString & id, size_t offset, size_t l { FeatId charId; charId.num = 0; -#ifdef WORDS_BIGENDIAN +#ifdef OSL_BIGENDIAN for (size_t i = 0; i < length; i++) { charId.label[i] = id[offset+i]; |