Remove unused ccmap files. Bug 445877, r+sr=dbaron
This commit is contained in:
Родитель
02bc543f3b
Коммит
aaeeffeac7
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -50,7 +50,6 @@ interface nsISaveAsCharset : nsISupports
|
|||
const unsigned long mask_Fallback = 0x000000FF; // mask for fallback (8bits)
|
||||
const unsigned long mask_Entity = 0x00000300; // mask for entity (2bits)
|
||||
const unsigned long mask_CharsetFallback = 0x00000400; // mask for charset fallback (1bit)
|
||||
const unsigned long mask_IgnorableFallback = 0x00000800; // mask for ignorable code points (1bit)
|
||||
|
||||
const unsigned long attr_FallbackNone = 0; // no fall back for unconverted chars (skipped)
|
||||
const unsigned long attr_FallbackQuestionMark = 1; // unconverted chars are replaced by '?'
|
||||
|
@ -64,7 +63,6 @@ interface nsISaveAsCharset : nsISupports
|
|||
|
||||
const unsigned long attr_CharsetFallback = 0x00000400; // fallback to other charset and restart the convesion
|
||||
|
||||
const unsigned long attr_IgnoreIgnorables = 0x00000800; // turn default ignorable code points (and Hebrew/Arabic/Syriac Vowel signs to nothingness
|
||||
|
||||
// default attribute for plain text
|
||||
const unsigned long attr_plainTextDefault = attr_FallbackNone + attr_EntityNone;
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -52,9 +52,6 @@
|
|||
//
|
||||
NS_IMPL_ISUPPORTS1(nsSaveAsCharset, nsISaveAsCharset)
|
||||
|
||||
#include "ignorables_abjadpoints.x-ccmap"
|
||||
DEFINE_X_CCMAP(gIgnorableCCMapExt, const);
|
||||
|
||||
//
|
||||
// nsSaveAsCharset
|
||||
//
|
||||
|
@ -260,11 +257,6 @@ nsSaveAsCharset::DoCharsetConversion(const PRUnichar *inString, char **outString
|
|||
unMappedChar = inString[pos1-1];
|
||||
}
|
||||
|
||||
// if we're asked to ignore default ignorable code points, skip them.
|
||||
if (MASK_IGNORABLE_FALLBACK(mAttribute) &&
|
||||
CCMAP_HAS_CHAR_EXT(gIgnorableCCMapExt, unMappedChar))
|
||||
continue;
|
||||
|
||||
rv = mEncoder->GetMaxLength(inString+pos1, inStringLength-pos1, &dstLength);
|
||||
if (NS_FAILED(rv))
|
||||
break;
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#define MASK_FALLBACK(a) (nsISaveAsCharset::mask_Fallback & (a))
|
||||
#define MASK_ENTITY(a) (nsISaveAsCharset::mask_Entity & (a))
|
||||
#define MASK_CHARSET_FALLBACK(a) (nsISaveAsCharset::mask_CharsetFallback & (a))
|
||||
#define MASK_IGNORABLE_FALLBACK(a) (nsISaveAsCharset::mask_IgnorableFallback & (a))
|
||||
#define ATTR_NO_FALLBACK(a) (nsISaveAsCharset::attr_FallbackNone == MASK_FALLBACK(a) && \
|
||||
nsISaveAsCharset::attr_EntityAfterCharsetConv != MASK_ENTITY(a))
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче