From 94d31d9ad1513504bb1415f0cfe70be380e18b9a Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 6 Nov 2013 13:01:55 +0100 Subject: vcl: WORDS_BIGENDIAN is never defined, use OSL_BIGENDIAN Change-Id: I5186904b9703d6c9c49ca4c3b4a62f83423b1ae1 --- vcl/generic/glyphs/gcach_ftyp.cxx | 2 +- vcl/source/glyphs/graphite_features.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl') 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]; -- cgit