diff --git a/icu4c/source/test/letest/PortableFontInstance.cpp b/icu4c/source/test/letest/PortableFontInstance.cpp index 43d6718d4a..485ab82a22 100644 --- a/icu4c/source/test/letest/PortableFontInstance.cpp +++ b/icu4c/source/test/letest/PortableFontInstance.cpp @@ -338,7 +338,7 @@ le_bool PortableFontInstance::getGlyphPoint(LEGlyphID /*glyph*/, le_int32 /*poin le_int32 PortableFontInstance::getUnitsPerEM() const { return fUnitsPerEM; -}; +} le_uint32 PortableFontInstance::getFontChecksum() const { @@ -368,12 +368,12 @@ LEGlyphID PortableFontInstance::mapCharToGlyph(LEUnicode32 ch) const float PortableFontInstance::getXPixelsPerEm() const { return fPointSize; -}; +} float PortableFontInstance::getYPixelsPerEm() const { return fPointSize; -}; +} float PortableFontInstance::getScaleFactorX() const { diff --git a/icu4c/source/test/letest/SimpleFontInstance.cpp b/icu4c/source/test/letest/SimpleFontInstance.cpp index b9da7c8689..c3b1030f42 100644 --- a/icu4c/source/test/letest/SimpleFontInstance.cpp +++ b/icu4c/source/test/letest/SimpleFontInstance.cpp @@ -65,7 +65,7 @@ void SimpleFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) cons le_int32 SimpleFontInstance::getUnitsPerEM() const { return 2048; -}; +} le_int32 SimpleFontInstance::getAscent() const { @@ -90,12 +90,12 @@ LEGlyphID SimpleFontInstance::mapCharToGlyph(LEUnicode32 ch) const float SimpleFontInstance::getXPixelsPerEm() const { return fPointSize; -}; +} float SimpleFontInstance::getYPixelsPerEm() const { return fPointSize; -}; +} float SimpleFontInstance::getScaleFactorX() const {