diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-25 10:23:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-25 10:29:50 +0000 |
commit | 90b755b2838a49d80e83bd2642bc8ff5c399396b (patch) | |
tree | e25da95adf84864adf53cc6345e432c6cdad3e82 /vcl/source/glyphs/graphite_layout.cxx | |
parent | 5a21fcc73f4346ea78a777e91de506d8f47e485f (diff) |
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'vcl/source/glyphs/graphite_layout.cxx')
-rw-r--r-- | vcl/source/glyphs/graphite_layout.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index 3c974aa22136..2e4812ba5940 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -179,7 +179,6 @@ GraphiteLayout::Glyphs::fill_from(gr::Segment & rSegment, ImplLayoutArgs &rArgs, int nChar = rArgs.mnEndCharPos - rArgs.mnMinCharPos; glyph_range_t iGlyphs = rSegment.glyphs(); int nGlyphs = iGlyphs.second - iGlyphs.first; - gr::GlyphIterator prevBase = iGlyphs.second; float fSegmentAdvance = rSegment.advanceWidth(); float fMinX = fSegmentAdvance; float fMaxX = 0.0f; @@ -1349,12 +1348,10 @@ void GraphiteLayout::GetCaretPositions( int nArraySize, sal_Int32* pCaretXArray break; } } - long nGWidth = gi.mnNewWidth; // if no match position at end of cluster if (nGlyph == static_cast<int>(mvGlyphs.size()) || mvGlyphs[nGlyph].IsClusterStart()) { - nGWidth = prevClusterWidth; if (bRtl) { pCaretXArray[i+1] = gi.maLinearPos.X(); |