summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs/graphite_layout.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-11 10:20:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-11 10:20:53 +0000
commit808aa04237278df4e9e09457b3298f40bd36ca89 (patch)
treee8d00a18c00031483b1cb25618b02323bdd2956a /vcl/source/glyphs/graphite_layout.cxx
parent67f4ae5d67ac379cfcd061f8e41b949202bac4dd (diff)
WaE: variables set but unused
Diffstat (limited to 'vcl/source/glyphs/graphite_layout.cxx')
-rw-r--r--vcl/source/glyphs/graphite_layout.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx
index 989f2e8b25e2..9d02c5fa6b88 100644
--- a/vcl/source/glyphs/graphite_layout.cxx
+++ b/vcl/source/glyphs/graphite_layout.cxx
@@ -209,7 +209,6 @@ GraphiteLayout::fillFrom(gr_segment * pSegment, ImplLayoutArgs &rArgs, float fSc
if (bRtl)
{
- const gr_slot* prevBase = NULL;
const gr_slot* baseSlot = gr_seg_last_slot(pSegment);
// find first base
while (baseSlot && (gr_slot_attached_to(baseSlot) != NULL))
@@ -281,13 +280,11 @@ GraphiteLayout::fillFrom(gr_segment * pSegment, ImplLayoutArgs &rArgs, float fSc
}
if (mnSegCharOffset + nLastCharInCluster < mnMinCharPos)
break;
- prevBase = baseSlot;
baseSlot = gr_slot_next_sibling_attachment(baseSlot);
}
}
else
{
- const gr_slot* prevBase = NULL;
const gr_slot* baseSlot = gr_seg_first_slot(pSegment);
// find first base
while (baseSlot && (gr_slot_attached_to(baseSlot) != NULL))
@@ -360,7 +357,6 @@ GraphiteLayout::fillFrom(gr_segment * pSegment, ImplLayoutArgs &rArgs, float fSc
}
if (mnSegCharOffset + nFirstCharInCluster >= mnEndCharPos)
break;
- prevBase = baseSlot;
baseSlot = gr_slot_next_sibling_attachment(baseSlot);
}
}