diff options
author | David Tardon <dtardon@redhat.com> | 2014-11-14 13:17:07 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-11-17 14:50:18 +0100 |
commit | 06efeee90c6347c4f136fe057188ac04f40a0bb9 (patch) | |
tree | ccacfb85975ebb113dbf9b643149f142bb08ae19 /vcl | |
parent | e164eb5c85547a49c0bcbdbdf1b1cdc9726f3133 (diff) |
use already existing variable
Change-Id: I3f2781e2a041845e732046ea591a15c9bb21f1a5
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/fontsubset/sft.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index 13da74bca567..b694520f5682 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -1096,7 +1096,7 @@ static sal_uInt32 getGlyph2(const sal_uInt8 *cmap, const sal_uInt32 nMaxCmapSize sal_uInt16* const pGlyph = (&(subHeader2s[0].idRangeOffset)) + (Int16FromMOTA(subHeader2s[0].idRangeOffset)/2) /* + offset */ + theLowByte /* + to_look */ - - Int16FromMOTA(subHeader2s[0].firstCode) + - firstCode ; if (reinterpret_cast<sal_uInt8*>(pGlyph) - cmap < int(nMaxCmapSize) - 4) return *pGlyph; |