fix for bug 158003 - custom static constructors for i18n unicode converters.
r=shanjian, sr=bz, a=roc+moz
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "nsUCConstructors.h"
|
||||
#include "nsCP852ToUnicode.h"
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
@@ -47,12 +48,12 @@ static const PRInt16 g_utShiftTable[] = {
|
||||
ShiftCell(0,0,0,0,0,0,0,0)
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// Class nsCP852ToUnicode [implementation]
|
||||
|
||||
nsCP852ToUnicode::nsCP852ToUnicode()
|
||||
: nsOneByteDecoderSupport((uShiftTable*) &g_utShiftTable,
|
||||
(uMappingTable*) &g_utMappingTable)
|
||||
NS_METHOD
|
||||
nsCP852ToUnicodeConstructor(nsISupports *aOuter, REFNSIID aIID,
|
||||
void **aResult)
|
||||
{
|
||||
return CreateOneByteDecoder((uShiftTable*) &g_utShiftTable,
|
||||
(uMappingTable*) &g_utMappingTable,
|
||||
aOuter, aIID, aResult);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user