diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-17 10:11:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-17 14:53:21 +0000 |
commit | bf5bb66fbfcb563ed4fdc0b99238fcb6239ffd9f (patch) | |
tree | 53c1883eab3793bcad61a435a82569f975fc7812 /vcl | |
parent | b21b723c7c6ee06439200631f65ab0a39d42bbb4 (diff) |
coverity#1251174 help coverity out here
Change-Id: I07d6d0356ee0093f7f10a7dfbbc37a620205f37a
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 b694520f5682..4cdb95c3d766 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -1091,7 +1091,7 @@ static sal_uInt32 getGlyph2(const sal_uInt8 *cmap, const sal_uInt32 nMaxCmapSize } if(k == 0) { - firstCode = Int16FromMOTA(subHeader2s[k].firstCode); + firstCode = Int16FromMOTA(subHeader2s[0].firstCode); if(theLowByte >= firstCode && theLowByte < (firstCode + Int16FromMOTA(subHeader2s[k].entryCount))) { sal_uInt16* const pGlyph = (&(subHeader2s[0].idRangeOffset)) + (Int16FromMOTA(subHeader2s[0].idRangeOffset)/2) /* + offset */ |