[Libreoffice-commits] core.git: vcl/aqua
Tor Lillqvist
tml at iki.fi
Wed Jun 12 11:38:06 PDT 2013
vcl/aqua/source/gdi/salgdicommon.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d4b088f504d7a1414a11d3dca8bcdf60b988d892
Author: Tor Lillqvist <tml at 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 );
}
}
More information about the Libreoffice-commits
mailing list