summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-15 11:35:05 +0200
committerNoel Grandin <noel@peralex.com>2015-01-15 11:47:56 +0200
commit313d7125eaf87f7af2af6bc1a6d1bac8fc7b2f0e (patch)
tree517f6e08a34bc5fda7c7ede5d0083c08a9067ade /svx
parent94518fb280075e2dbebd7717618ca0f5557a333a (diff)
convert sal_uIntPtr to long
Change-Id: I662f51d8d7c88a6c6f7306c344d99841a3102bb4
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx
index 4665fd89cbc9..517b3a9094c3 100644
--- a/svx/source/gallery2/galctrl.cxx
+++ b/svx/source/gallery2/galctrl.cxx
@@ -508,7 +508,7 @@ void GalleryListView::PaintField( OutputDevice& rDev, const Rectangle& rRect, sa
rDev.Push( PushFlags::CLIPREGION );
rDev.IntersectClipRegion( rRect );
- if( mpTheme && ( mnCurRow < mpTheme->GetObjectCount() ) )
+ if( mpTheme && ( static_cast<size_t>(mnCurRow) < mpTheme->GetObjectCount() ) )
{
const Size aSize(rRect.GetHeight(), rRect.GetHeight());
BitmapEx aBitmapEx;