diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 11:04:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 16:29:15 +0100 |
commit | 4079089d0a3cf6b55c937447407f68b7339bca68 (patch) | |
tree | 18aee7f2c10108d632ff0d3295f4943ded491e44 /vcl/generic | |
parent | 5b621a30ccf2ba3967e1189986bf1a3ea8079e8e (diff) |
clang: Dead increment
Change-Id: I231218ab7a7984943470b62339e34801fb5fb9e3
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.cxx | 1 | ||||
-rw-r--r-- | vcl/generic/print/glyphset.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx index f8880b937456..a95ab5e5f774 100644 --- a/vcl/generic/glyphs/gcach_ftyp.cxx +++ b/vcl/generic/glyphs/gcach_ftyp.cxx @@ -1804,7 +1804,6 @@ bool ServerFont::ApplyGSUB( const FontSelectPattern& rFSD ) case 1: // Single Substitution Format 1 { const sal_uInt16 nDeltaGlyphId = GetUShort( pSubLookup ); - pSubLookup += 2; for(; it != aSubstVector.end(); ++it ) (*it).second = (*it).first + nDeltaGlyphId; } diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx index 016c8f70fa28..5c81214cfc0f 100644 --- a/vcl/generic/print/glyphset.cxx +++ b/vcl/generic/print/glyphset.cxx @@ -666,7 +666,7 @@ GlyphSet::PSUploadEncoding(osl::File* pOutFile, PrinterGfx &rGfx) // flush line if (nSize >= 70) { - nSize += psp::appendStr ("\n", pEncodingVector + nSize); + psp::appendStr ("\n", pEncodingVector + nSize); psp::WritePS (pOutFile, pEncodingVector); nSize = 0; } |