Changeset 25782 in vbox
- Timestamp:
- Jan 12, 2010 5:15:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/string/public/nsEmbedString.h
r1 r25782 48 48 typedef nsEmbedString self_type; 49 49 typedef nsAString abstract_string_type; 50 50 51 51 nsEmbedString() 52 52 { … … 55 55 56 56 nsEmbedString(const self_type& aString) 57 #ifdef VBOX 58 : nsStringContainer() 59 #endif 57 60 { 58 61 NS_StringContainerInit(*this); … … 73 76 NS_StringSetData(*this, aData, aLength); 74 77 } 75 78 76 79 ~nsEmbedString() 77 80 { … … 85 88 return data; 86 89 } 87 90 88 91 self_type& operator=(const self_type& aString) { Assign(aString); return *this; } 89 92 self_type& operator=(const abstract_string_type& aReadable) { Assign(aReadable); return *this; } … … 97 100 typedef nsEmbedCString self_type; 98 101 typedef nsACString abstract_string_type; 99 102 100 103 nsEmbedCString() 104 #ifdef VBOX 105 : nsCStringContainer() 106 #endif 101 107 { 102 108 NS_CStringContainerInit(*this); … … 122 128 NS_CStringSetData(*this, aData, aLength); 123 129 } 124 130 125 131 ~nsEmbedCString() 126 132 { … … 134 140 return data; 135 141 } 136 142 137 143 self_type& operator=(const self_type& aString) { Assign(aString); return *this; } 138 144 self_type& operator=(const abstract_string_type& aReadable) { Assign(aReadable); return *this; }
Note:
See TracChangeset
for help on using the changeset viewer.