summaryrefslogtreecommitdiff
path: root/vcl/coretext
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-06 17:37:43 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-07 01:13:35 +0300
commitc925e0d76c835cb331d20293919ab23e096d37f8 (patch)
treea74635fbffe10c71c8c944fc6cd8b6fb2c89f707 /vcl/coretext
parentc4601c03eae7211b2648a2aa3df6cc3719170734 (diff)
We have just one element in these tables
Change-Id: I184c8c69f4a9afdb0019193b09f61c65e47d36ae
Diffstat (limited to 'vcl/coretext')
-rw-r--r--vcl/coretext/salcoretextlayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/coretext/salcoretextlayout.cxx b/vcl/coretext/salcoretextlayout.cxx
index fe7adabce8c4..3263e0d3ebd9 100644
--- a/vcl/coretext/salcoretextlayout.cxx
+++ b/vcl/coretext/salcoretextlayout.cxx
@@ -467,8 +467,8 @@ bool CoreTextLayout::InitGIA( ImplLayoutArgs& rArgs ) const
return false;
}
- CFStringRef keys[6];
- CFTypeRef values[6];
+ CFStringRef keys[1];
+ CFTypeRef values[1];
keys[0] = kCTFontAttributeName;
values[0] = CFRetain( mpStyle->GetFont() );