summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-12-04 15:07:09 +0000
committerRüdiger Timm <rt@openoffice.org>2006-12-04 15:07:09 +0000
commit24c84aaf9e8f431a04baa47a3106cac41c9d3fba (patch)
treecdf1fbe1ce06598f55c93ed170dd230a0bf80965 /svtools/source
parent1fa7aaed94ca7a4a817e95966e8adecf7f725972 (diff)
INTEGRATION: CWS jw3 (1.33.2); FILE MERGED
2006/11/21 07:15:37 sparcmoz 1.33.2.1: #i71762# remove warning for bigendian
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/filter.vcl/wmf/enhwmf.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/filter.vcl/wmf/enhwmf.cxx b/svtools/source/filter.vcl/wmf/enhwmf.cxx
index be49f1feee2d..b0e401688002 100644
--- a/svtools/source/filter.vcl/wmf/enhwmf.cxx
+++ b/svtools/source/filter.vcl/wmf/enhwmf.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: enhwmf.cxx,v $
*
- * $Revision: 1.33 $
+ * $Revision: 1.34 $
*
- * last change: $Author: ihi $ $Date: 2006-11-14 15:42:09 $
+ * last change: $Author: rt $ $Date: 2006-12-04 16:07:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -176,8 +176,8 @@
static float GetSwapFloat( SvStream& rSt )
{
float fTmp;
- sal_Int8* pPtr = (sal_Int8*)&fTmp + 3;
- rSt >> *pPtr-- >> *pPtr-- >> *pPtr-- >> *pPtr; // Little Endian <-> Big Endian switch
+ sal_Int8* pPtr = (sal_Int8*)&fTmp;
+ rSt >> pPtr[3] >> pPtr[2] >> pPtr[1] >> pPtr[0]; // Little Endian <-> Big Endian switch
return fTmp;
}
#endif