summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-05-17 22:58:00 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2013-05-18 00:35:52 +0200
commitd1bd0cbb41f6377607a1c18589eb5e24b16988ed (patch)
tree53d44ba4a092098a351896607ac202a13bf519f7 /vcl
parent455e21727572d6ac123781be292053cf13c68237 (diff)
Remove unused variable
isVerticalRun is not used anywhere, remove for now. Change-Id: I29a9650e3031dc1faaacd13f4aa9fefe661edaa7
Diffstat (limited to 'vcl')
-rw-r--r--vcl/coretext/salcoretextlayout.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/coretext/salcoretextlayout.cxx b/vcl/coretext/salcoretextlayout.cxx
index 03750bc1e6d2..e4afc8d5a459 100644
--- a/vcl/coretext/salcoretextlayout.cxx
+++ b/vcl/coretext/salcoretextlayout.cxx
@@ -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 ];