Kaydet (Commit) 313d7125 authored tarafından Noel Grandin's avatar Noel Grandin

convert sal_uIntPtr to long

Change-Id: I662f51d8d7c88a6c6f7306c344d99841a3102bb4
üst 94518fb2
...@@ -121,7 +121,7 @@ private: ...@@ -121,7 +121,7 @@ private:
Link maSelectHdl; Link maSelectHdl;
GalleryTheme* mpTheme; GalleryTheme* mpTheme;
sal_uIntPtr mnCurRow; long mnCurRow;
void InitSettings(); void InitSettings();
......
...@@ -508,7 +508,7 @@ void GalleryListView::PaintField( OutputDevice& rDev, const Rectangle& rRect, sa ...@@ -508,7 +508,7 @@ void GalleryListView::PaintField( OutputDevice& rDev, const Rectangle& rRect, sa
rDev.Push( PushFlags::CLIPREGION ); rDev.Push( PushFlags::CLIPREGION );
rDev.IntersectClipRegion( rRect ); rDev.IntersectClipRegion( rRect );
if( mpTheme && ( mnCurRow < mpTheme->GetObjectCount() ) ) if( mpTheme && ( static_cast<size_t>(mnCurRow) < mpTheme->GetObjectCount() ) )
{ {
const Size aSize(rRect.GetHeight(), rRect.GetHeight()); const Size aSize(rRect.GetHeight(), rRect.GetHeight());
BitmapEx aBitmapEx; BitmapEx aBitmapEx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment