Commit e3cd9594 authored by ginn.chen%sun.com's avatar ginn.chen%sun.com
Browse files

Bug 345421 nsRoleMap.h uses -1 for PRUint32

patch by gaomingcn at gmail.com r=aaronleventhal
parent 91f4bf9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@
#include <atk/atk.h>
#include "nsAccessibleWrap.h"

#define ROLE_ATK_LAST_ENTRY -1
const PRUint32 ROLE_ATK_LAST_ENTRY = 0xffffffff;

// Map array from cross platform roles to  ATK roles
PRUint32 atkRoleMap[] = {
+5 −5
Original line number Diff line number Diff line
@@ -40,19 +40,19 @@

#include "OLEACC.H"

#define USE_ROLE_STRING 0
#define ROLE_MSAA_LAST_ENTRY -1
const PRUint32 USE_ROLE_STRING = 0;
const PRUint32 ROLE_MSAA_LAST_ENTRY = 0xffffffff;

#ifndef ROLE_SYSTEM_SPLITBUTTON
#define ROLE_SYSTEM_SPLITBUTTON ( 0x3e )    // Not defined in all oleacc.h versions
const PRUint32 ROLE_SYSTEM_SPLITBUTTON  = 0x3e; // Not defined in all oleacc.h versions
#endif

#ifndef ROLE_SYSTEM_IPADDRESS
#define ROLE_SYSTEM_IPADDRESS ( 0x3f )      // Not defined in all oleacc.h versions
const PRUint32 ROLE_SYSTEM_IPADDRESS = 0x3f; // Not defined in all oleacc.h versions
#endif

#ifndef ROLE_SYSTEM_OUTLINEBUTTON
#define ROLE_SYSTEM_OUTLINEBUTTON ( 0x40 )  // Not defined in all oleacc.h versions
const PRUint32 ROLE_SYSTEM_OUTLINEBUTTON = 0x40; // Not defined in all oleacc.h versions
#endif

// Map array from cross platform roles to MSAA roles