summaryrefslogtreecommitdiff
path: root/sc/inc/address.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-06-24 14:33:46 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-06-24 14:33:46 +0000
commitc778c6a6da03dccba168e6b97e0421fe72c3bf9d (patch)
tree15b2843d45637a08103207f2dcebeff56e86d472 /sc/inc/address.hxx
parent093c31530439d2beee01ddc2938fa56b5b6bb497 (diff)
#i10000#: __LITTLEENDIAN -> OSL_LITENDIAN
Diffstat (limited to 'sc/inc/address.hxx')
-rw-r--r--sc/inc/address.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 631563dc5fe8..9048e83c5f33 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: address.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: obo $ $Date: 2004-06-04 10:00:39 $
+ * last change: $Author: hr $ $Date: 2004-06-24 15:33:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,8 +77,10 @@
#ifndef _RTL_USTRBUF_HXX_
#include <rtl/ustrbuf.hxx>
#endif
-
#include <limits>
+#ifndef _OSL_ENDIAN_H_
+#include <osl/endian.h>
+#endif
class ScDocument;
@@ -337,7 +339,7 @@ public:
inline UINT32 GetBitfield() const { return nAddress; }
};
-#ifdef __LITTLEENDIAN
+#ifdef OSL_LITENDIAN
inline USHORT* ScAddressOldBitfieldConverter::RowPos() { return (USHORT*) &nAddress; }
inline BYTE* ScAddressOldBitfieldConverter::ColPos() { return (BYTE*) &nAddress + 2; }