mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-3979 Fix extrremely annoying compiler warnings.
X-SVN-Rev: 19530
This commit is contained in:
parent
656d7e1b43
commit
2751032ccd
4 changed files with 42 additions and 4 deletions
|
@ -360,6 +360,20 @@ le_int32 PortableFontInstance::getLeading() const
|
|||
return fLeading;
|
||||
}
|
||||
|
||||
// We really want to inherit this method from the superclass, but some compilers
|
||||
// issue a warning if we don't implement it...
|
||||
LEGlyphID PortableFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const
|
||||
{
|
||||
return LEFontInstance::mapCharToGlyph(ch, mapper, filterZeroWidth);
|
||||
}
|
||||
|
||||
// We really want to inherit this method from the superclass, but some compilers
|
||||
// issue a warning if we don't implement it...
|
||||
LEGlyphID PortableFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const
|
||||
{
|
||||
return LEFontInstance::mapCharToGlyph(ch, mapper);
|
||||
}
|
||||
|
||||
LEGlyphID PortableFontInstance::mapCharToGlyph(LEUnicode32 ch) const
|
||||
{
|
||||
return fCMAPMapper->unicodeToGlyph(ch);
|
||||
|
|
|
@ -87,8 +87,13 @@ public:
|
|||
|
||||
virtual le_int32 getLeading() const;
|
||||
|
||||
//virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const;
|
||||
//virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const;
|
||||
// We really want to inherit this method from the superclass, but some compilers
|
||||
// issue a warning if we don't implement it...
|
||||
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const;
|
||||
|
||||
// We really want to inherit this method from the superclass, but some compilers
|
||||
// issue a warning if we don't implement it...
|
||||
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const;
|
||||
|
||||
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch) const;
|
||||
|
||||
|
|
|
@ -82,6 +82,20 @@ le_int32 SimpleFontInstance::getLeading() const
|
|||
return 0;
|
||||
}
|
||||
|
||||
// We really want to inherit this method from the superclass, but some compilers
|
||||
// issue a warning if we don't implement it...
|
||||
LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const
|
||||
{
|
||||
return LEFontInstance::mapCharToGlyph(ch, mapper, filterZeroWidth);
|
||||
}
|
||||
|
||||
// We really want to inherit this method from the superclass, but some compilers
|
||||
// issue a warning if we don't implement it...
|
||||
LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const
|
||||
{
|
||||
return LEFontInstance::mapCharToGlyph(ch, mapper);
|
||||
}
|
||||
|
||||
LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch) const
|
||||
{
|
||||
return (LEGlyphID) ch;
|
||||
|
|
|
@ -45,8 +45,13 @@ public:
|
|||
|
||||
virtual le_int32 getLeading() const;
|
||||
|
||||
//virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const;
|
||||
//virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const;
|
||||
// We really want to inherit this method from the superclass, but some compilers
|
||||
// issue a warning if we don't implement it...
|
||||
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const;
|
||||
|
||||
// We really want to inherit this method from the superclass, but some compilers
|
||||
// issue a warning if we don't implement it...
|
||||
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper) const;
|
||||
|
||||
virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch) const;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue