Kaydet (Commit) 06efeee9 authored tarafından David Tardon's avatar David Tardon

use already existing variable

Change-Id: I3f2781e2a041845e732046ea591a15c9bb21f1a5
üst e164eb5c
...@@ -1096,7 +1096,7 @@ static sal_uInt32 getGlyph2(const sal_uInt8 *cmap, const sal_uInt32 nMaxCmapSize ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment