[Libreoffice-commits] core.git: oox/source

David Tardon dtardon at redhat.com
Tue Jun 18 07:12:50 PDT 2013


 oox/source/ole/olehelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5ba49392543bae1f6477c65f1887881b48a3143e
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Jun 18 10:06:35 2013 -0400

    fix ppc build
    
    char is a type distinct from both unsigned char and signed char.
    
    Change-Id: Ia9de35ef42101ce818880b810c44547f1c1a417a

diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx
index 58aa67e..8dc8f7c 100644
--- a/oox/source/ole/olehelper.cxx
+++ b/oox/source/ole/olehelper.cxx
@@ -298,7 +298,7 @@ void OleHelper::exportGuid( BinaryOutputStream& rOStr, const SvGlobalName& rId )
     memcpy(&b, pBytes+6, sizeof(sal_uInt16));
     rOStr << b;
 
-    rOStr.writeArray( (sal_Char *)&pBytes[ 8 ], 8 );
+    rOStr.writeArray( (sal_uInt8 *)&pBytes[ 8 ], 8 );
 }
 OUString OleHelper::importGuid( BinaryInputStream& rInStrm )
 {


More information about the Libreoffice-commits mailing list