summaryrefslogtreecommitdiff
path: root/vcl/coretext
diff options
context:
space:
mode:
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() );