summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/rtf/rtfgrf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/rtf/rtfgrf.cxx b/editeng/source/rtf/rtfgrf.cxx
index 0434bf76a588..f22a0a43f4e0 100644
--- a/editeng/source/rtf/rtfgrf.cxx
+++ b/editeng/source/rtf/rtfgrf.cxx
@@ -173,7 +173,7 @@ inline long SwapLong( long n )
inline short SwapShort( short n )
{
#ifndef OSL_LITENDIAN
- return SWAPSHORT( n );
+ return OSL_SWAPWORD( n );
#else
return n;
#endif