use already existing variable
Change-Id: I3f2781e2a041845e732046ea591a15c9bb21f1a5
This commit is contained in:
@@ -1096,7 +1096,7 @@ static sal_uInt32 getGlyph2(const sal_uInt8 *cmap, const sal_uInt32 nMaxCmapSize
|
|||||||
sal_uInt16* const pGlyph = (&(subHeader2s[0].idRangeOffset))
|
sal_uInt16* const pGlyph = (&(subHeader2s[0].idRangeOffset))
|
||||||
+ (Int16FromMOTA(subHeader2s[0].idRangeOffset)/2) /* + offset */
|
+ (Int16FromMOTA(subHeader2s[0].idRangeOffset)/2) /* + offset */
|
||||||
+ theLowByte /* + to_look */
|
+ theLowByte /* + to_look */
|
||||||
- Int16FromMOTA(subHeader2s[0].firstCode)
|
- firstCode
|
||||||
;
|
;
|
||||||
if (reinterpret_cast<sal_uInt8*>(pGlyph) - cmap < int(nMaxCmapSize) - 4)
|
if (reinterpret_cast<sal_uInt8*>(pGlyph) - cmap < int(nMaxCmapSize) - 4)
|
||||||
return *pGlyph;
|
return *pGlyph;
|
||||||
|
Reference in New Issue
Block a user