vcl/coretext/ctlayout.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 98741a2078ebd0a9c83f6e676f99de526990f423 Author: Khaled Hosny <khaledho...@eglug.org> Date: Tue Jun 18 06:44:33 2013 +0200 Fix CTLayout::GetBoundRect() was broken in 35b0a4cd274c1567cf0b8067eb01f17b82ee9f35 Change-Id: I803b510fc875ff9e48ed762114f6d63dad51ad7a diff --git a/vcl/coretext/ctlayout.cxx b/vcl/coretext/ctlayout.cxx index 0ff356f..e2a118b 100644 --- a/vcl/coretext/ctlayout.cxx +++ b/vcl/coretext/ctlayout.cxx @@ -442,9 +442,9 @@ bool CTLayout::GetBoundRect( SalGraphics& rGraphics, Rectangle& rVCLRect ) const // CoreText top-bottom are vertically flipped from a VCL aspect rVCLRect.Left() = aPos.X() + aMacRect.origin.x; - rVCLRect.Right() = aPos.X() + aMacRect.origin.x + aMacRect.size.width; + rVCLRect.Right() = aPos.X() + (aMacRect.origin.x + aMacRect.size.width); rVCLRect.Bottom() = aPos.Y() - aMacRect.origin.y; - rVCLRect.Top() = aPos.Y() - aMacRect.origin.y + aMacRect.size.height; + rVCLRect.Top() = aPos.Y() - (aMacRect.origin.y + aMacRect.size.height); return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits