[Libreoffice-commits] core.git: include/sal

Stephan Bergmann sbergman at redhat.com
Tue May 3 20:07:44 UTC 2016


 include/sal/types.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit acdc855f0b9b97e23ea5282f5a31e28dbcf2b311
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 3 22:05:42 2016 +0200

    Trivially improve sal/types.h code indentation
    
    ...to trigger rebuilding of PCH on Windows after
    e16fa715c43dcdf836ce8c400b6d54eae87b627d "Handle wchar_t as native C++11 type on
    windows"
    
    Change-Id: Ia1cafb8a2f207f34b6fb1cb53fbaf23d90e6b296

diff --git a/include/sal/types.h b/include/sal/types.h
index 5614c99..23a4b31 100644
--- a/include/sal/types.h
+++ b/include/sal/types.h
@@ -146,13 +146,13 @@ typedef unsigned char sal_uChar;
     // "By default wchar_t is a typedef for unsigned short."
     // But MinGW has a native wchar_t, and on many places, we cannot deal with
     // that, so sal_Unicode has to be explicitly typedef'd as sal_uInt16 there.
-    typedef wchar_t             sal_Unicode;
+    typedef wchar_t sal_Unicode;
 #else
     #define SAL_UNICODE_NOTEQUAL_WCHAR_T
 #if LIBO_INTERNAL_ONLY && defined __cplusplus
     typedef char16_t sal_Unicode;
 #else
-    typedef sal_uInt16          sal_Unicode;
+    typedef sal_uInt16 sal_Unicode;
 #endif
 #endif
 


More information about the Libreoffice-commits mailing list