Kaydet (Commit) d1bd0cbb authored tarafından Khaled Hosny's avatar Khaled Hosny

Remove unused variable

isVerticalRun is not used anywhere, remove for now.

Change-Id: I29a9650e3031dc1faaacd13f4aa9fefe661edaa7
üst 455e2172
......@@ -636,13 +636,6 @@ void CoreTextLayout::GetMeasurements()
CTRunGetPositions( run, CFRangeMake( 0, 0 ), &mpGlyphPositions[ lineGlyphIx ] );
CTRunGetAdvances( run, CFRangeMake( 0, 0 ), &mpGlyphAdvances[ lineGlyphIx ] );
bool isVerticalRun = false;
CFDictionaryRef aDict = CTRunGetAttributes( run );
if ( aDict ) {
const CFBooleanRef aValue = (const CFBooleanRef)CFDictionaryGetValue( aDict, kCTVerticalFormsAttributeName );
isVerticalRun = (aValue == kCFBooleanTrue);
}
for ( CFIndex runGlyphIx = 0 ; runGlyphIx < runGlyphCount; lineGlyphIx++, runGlyphIx++ )
{
const CFIndex charIx = runStringIndices[ runGlyphIx ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment