[PATCH] Fix compilation in salnativewidgets fpr gtk3, it's just a trivial cast
Lucas Baudin
xapantu at gmail.com
Sun Sep 11 01:10:07 PDT 2011
---
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index ae655dd..2dc64fc 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -187,8 +187,8 @@ void GtkSalGraphics::copyArea( long nDestX, long nDestY,
RegionHandle aHnd = m_aClipRegion.BeginEnumRects();
while( m_aClipRegion.GetNextEnumRect( aHnd, aClipRect ) )
{
- cairo_rectangle_int_t aRect = { aClipRect.Left(), aClipRect.Top(),
- aClipRect.Right(), aClipRect.Bottom() };
+ cairo_rectangle_int_t aRect = { (int)aClipRect.Left(), (int)aClipRect.Top(),
+ (int)aClipRect.Right(), (int)aClipRect.Bottom() };
cairo_region_union_rectangle( clip_region, &aRect );
}
m_aClipRegion.EndEnumRects (aHnd);
--
1.7.5.4
--------------000000040708050602010901--
More information about the LibreOffice
mailing list