summaryrefslogtreecommitdiff
path: root/include/oox/helper/helper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/helper/helper.hxx')
-rw-r--r--include/oox/helper/helper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/helper/helper.hxx b/include/oox/helper/helper.hxx
index 1d9d1c480c9c..afbbef5322bd 100644
--- a/include/oox/helper/helper.hxx
+++ b/include/oox/helper/helper.hxx
@@ -208,7 +208,7 @@ public:
#ifdef OSL_BIGENDIAN
static void convertLittleEndian( sal_Int8& ) {} // present for usage in templates
static void convertLittleEndian( sal_uInt8& ) {} // present for usage in templates
-#if !defined SAL_W32 || defined __MINGW32__ // cf. sal/types.h sal_Unicode
+#if !defined SAL_W32 // cf. sal/types.h sal_Unicode
static void convertLittleEndian( char16_t& rnValue ) { swap2( reinterpret_cast< sal_uInt8* >( &rnValue ) ); }
#endif
static void convertLittleEndian( sal_Int16& rnValue ) { swap2( reinterpret_cast< sal_uInt8* >( &rnValue ) ); }