[Libreoffice-commits] .: vcl/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Mar 11 02:20:58 PST 2011
vcl/source/glyphs/graphite_layout.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 475b40d0b5ec7967513b23e45bdb7219dda2db75
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Mar 11 10:20:53 2011 +0000
WaE: variables set but unused
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx
index d16da64..73cfcef 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);
}
}
More information about the Libreoffice-commits
mailing list