summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-20 23:10:37 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-20 23:10:37 +0200
commit9fe24ebe32b18ef8371e1b1d168fa64a48a73b37 (patch)
treee589b2d82d111ae675d2a7ae87e1126d83a09d3b /vcl
parent3858f7ef2562544214bf55851c95b9e18c768c52 (diff)
vcl mac SDK issue with API manipulating Rect
Change-Id: Icad89fe16e428a5e4d87ab4b19131bdd804528b7
Diffstat (limited to 'vcl')
-rw-r--r--vcl/quartz/ctlayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/ctlayout.cxx b/vcl/quartz/ctlayout.cxx
index b02ed158d976..7c851d3f22e2 100644
--- a/vcl/quartz/ctlayout.cxx
+++ b/vcl/quartz/ctlayout.cxx
@@ -543,7 +543,7 @@ void CTLayout::drawCTLine(AquaSalGraphics& rAquaGraphics, CTLineRef ctline, cons
CTRunGetPositions(run, glyphRange, &position);
CTRunGetAdvances(run, glyphRange, &advance);
- CGRect bulletRect = NSMakeRect(aTextPos.x + position.x + advance.width / 4,
+ CGRect bulletRect = CGRectMake(aTextPos.x + position.x + advance.width / 4,
aTextPos.y + position.y + ascent / 3 - baseSize / 5, baseSize / 5, baseSize / 5 );
CGContextSaveGState(context);
RGBAColor bulletColor(MAKE_SALCOLOR(0x26, 0x8b, 0xd2 )); // NON_PRINTING_CHARACTER_COLOR