[Libreoffice-commits] core.git: vcl/quartz
Norbert Thiebaud
nthiebaud at gmail.com
Sun Jul 20 14:11:16 PDT 2014
vcl/quartz/ctlayout.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9fe24ebe32b18ef8371e1b1d168fa64a48a73b37
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sun Jul 20 23:10:37 2014 +0200
vcl mac SDK issue with API manipulating Rect
Change-Id: Icad89fe16e428a5e4d87ab4b19131bdd804528b7
diff --git a/vcl/quartz/ctlayout.cxx b/vcl/quartz/ctlayout.cxx
index b02ed15..7c851d3 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
More information about the Libreoffice-commits
mailing list