diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2011-02-02 16:36:17 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2011-02-02 16:36:17 +0100 |
commit | 40caf500903c7da3dc93d9163bb8fe26ccda7a55 (patch) | |
tree | 1654eb25f16f2c6aa29e59d4aad5a9f3b986fd40 /tools | |
parent | 6615f81d3411d4506f16b8eb392a4c7c61bfc360 (diff) |
removetooltypes01: #i112600# fix wrong type usage
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/inc/tools/globname.hxx | 4 | ||||
-rwxr-xr-x | tools/source/ref/globname.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/inc/tools/globname.hxx b/tools/inc/tools/globname.hxx index 5dc2e6215de9..026e4c51b9ac 100755 --- a/tools/inc/tools/globname.hxx +++ b/tools/inc/tools/globname.hxx @@ -36,7 +36,7 @@ *************************************************************************/ struct ImpSvGlobalName { - sal_Int8 szData[ 16 ]; + sal_uInt8 szData[ 16 ]; sal_uInt16 nRefCount; ImpSvGlobalName() @@ -110,7 +110,7 @@ public: SvGlobalName( const CLSID & rId ); const CLSID & GetCLSID() const { return *(CLSID *)pImp->szData; } - const sal_Int8* GetBytes() const { return pImp->szData; } + const sal_uInt8* GetBytes() const { return pImp->szData; } // platform independent representation of a "GlobalName" // maybe transported remotely diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx index 22fd347eebdf..0228aeef9e81 100755 --- a/tools/source/ref/globname.cxx +++ b/tools/source/ref/globname.cxx @@ -78,7 +78,7 @@ struct GUID sal_uInt32 Data1; sal_uInt16 Data2; sal_uInt16 Data3; - sal_Int8 Data4[8]; + sal_uInt8 Data4[8]; }; SvGlobalName::SvGlobalName( const CLSID & rId ) { |