Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / moz / patches / clang_missing_this_pointers.patch
blobd92434fe074fbc5e8ded0700749b7dcd1d462338
1 --- misc/mozilla/xpcom/glue/nsBaseHashtable.h 2005-09-27 16:44:20.000000000 +0100
2 +++ misc/build/mozilla/xpcom/glue/nsBaseHashtable.h 2012-02-18 18:43:55.386109066 +0000
3 @@ -123,7 +123,7 @@
4 */
5 PRBool Get(KeyType aKey, UserDataType* pData) const
7 - EntryType* ent = GetEntry(aKey);
8 + EntryType* ent = this->GetEntry(aKey);
10 if (!ent)
11 return PR_FALSE;
12 @@ -142,7 +142,7 @@
14 PRBool Put(KeyType aKey, UserDataType aData)
16 - EntryType* ent = PutEntry(aKey);
17 + EntryType* ent = this->PutEntry(aKey);
19 if (!ent)
20 return PR_FALSE;
21 @@ -156,7 +156,7 @@
22 * remove the data for the associated key
23 * @param aKey the key to remove from the hashtable
25 - void Remove(KeyType aKey) { RemoveEntry(aKey); }
26 + void Remove(KeyType aKey) { this->RemoveEntry(aKey); }
28 /**
29 * function type provided by the application for enumeration.
30 --- misc/mozilla/xpcom/glue/nsClassHashtable.h 2005-08-11 20:42:37.000000000 +0100
31 +++ misc/build/mozilla/xpcom/glue/nsClassHashtable.h 2012-02-18 18:40:32.810109050 +0000
32 @@ -98,7 +98,7 @@
33 nsClassHashtable<KeyClass,T>::Get(KeyType aKey, T** retVal) const
35 typename nsBaseHashtable<KeyClass,nsAutoPtr<T>,T*>::EntryType* ent =
36 - GetEntry(aKey);
37 + this->GetEntry(aKey);
39 if (ent)
41 --- misc/mozilla/xpcom/glue/nsInterfaceHashtable.h 2005-08-11 20:42:48.000000000 +0100
42 +++ misc/build/mozilla/xpcom/glue/nsInterfaceHashtable.h 2012-02-18 18:43:01.794109091 +0000
43 @@ -111,7 +111,7 @@
44 (KeyType aKey, UserDataType* pInterface) const
46 typename nsBaseHashtable<KeyClass, nsCOMPtr<Interface>, Interface*>::EntryType* ent =
47 - GetEntry(aKey);
48 + this->GetEntry(aKey);
50 if (ent)
52 @@ -139,7 +139,7 @@
53 (KeyType aKey, PRBool* aFound) const
55 typename nsBaseHashtable<KeyClass, nsCOMPtr<Interface>, Interface*>::EntryType* ent =
56 - GetEntry(aKey);
57 + this->GetEntry(aKey);
59 if (ent)
61 --- misc/mozilla/xpcom/glue/nsRefPtrHashtable.h 2005-08-11 20:42:51.000000000 +0100
62 +++ misc/build/mozilla/xpcom/glue/nsRefPtrHashtable.h 2012-02-18 19:02:20.634109082 +0000
63 @@ -140,7 +140,7 @@
64 (KeyType aKey, PRBool* aFound) const
66 typename nsBaseHashtable<KeyClass, nsRefPtr<RefPtr>, RefPtr*>::EntryType* ent =
67 - GetEntry(aKey);
68 + this->GetEntry(aKey);
70 if (ent)