summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}