vcl/aqua/source/gdi/salgdicommon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d4b088f504d7a1414a11d3dca8bcdf60b988d892 Author: Tor Lillqvist <t...@iki.fi> Date: Wed Jun 12 21:29:13 2013 +0300 WaE: non-constant-expression cannot be narrowed from 'long' to 'CGFloat' Change-Id: Ifc73c13a9e0695ee43158ea14965c01a2dbe6c59 diff --git a/vcl/aqua/source/gdi/salgdicommon.cxx b/vcl/aqua/source/gdi/salgdicommon.cxx index ad484e2..f449b36 100644 --- a/vcl/aqua/source/gdi/salgdicommon.cxx +++ b/vcl/aqua/source/gdi/salgdicommon.cxx @@ -1464,7 +1464,7 @@ bool AquaSalGraphics::setClipRegion( const Region& i_rClip ) if(nH) { - CGRect aRect = {{ aRectIter->Left(), aRectIter->Top() }, { nW, nH }}; + CGRect aRect = {{ (CGFloat) aRectIter->Left(), (CGFloat) aRectIter->Top() }, { (CGFloat) nW, (CGFloat) nH }}; CGPathAddRect( mxClipPath, NULL, aRect ); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits