gdi32: Get rid of GDI_ReallocObject.
diff --git a/dlls/gdi32/gdi_private.h b/dlls/gdi32/gdi_private.h
index e78e496..87d4ec0 100644
--- a/dlls/gdi32/gdi_private.h
+++ b/dlls/gdi32/gdi_private.h
@@ -438,7 +438,6 @@
 /* gdiobj.c */
 extern BOOL GDI_Init(void) DECLSPEC_HIDDEN;
 extern HGDIOBJ alloc_gdi_handle( GDIOBJHDR *obj, WORD type, const struct gdi_obj_funcs *funcs ) DECLSPEC_HIDDEN;
-extern void *GDI_ReallocObject( WORD, HGDIOBJ, void *obj ) DECLSPEC_HIDDEN;
 extern void *free_gdi_handle( HGDIOBJ handle ) DECLSPEC_HIDDEN;
 extern void *GDI_GetObjPtr( HGDIOBJ, WORD ) DECLSPEC_HIDDEN;
 extern void GDI_ReleaseObj( HGDIOBJ ) DECLSPEC_HIDDEN;
diff --git a/dlls/gdi32/gdiobj.c b/dlls/gdi32/gdiobj.c
index cc87c6e..5557787 100644
--- a/dlls/gdi32/gdiobj.c
+++ b/dlls/gdi32/gdiobj.c
@@ -662,33 +662,6 @@
 
 
 /***********************************************************************
- *           GDI_ReallocObject
- *
- * The object ptr must have been obtained with GDI_GetObjPtr.
- * The new pointer must be released with GDI_ReleaseObj.
- */
-void *GDI_ReallocObject( WORD size, HGDIOBJ handle, void *object )
-{
-    void *new_ptr = NULL;
-    int i;
-
-    i = ((ULONG_PTR)handle >> 2) - FIRST_LARGE_HANDLE;
-    if (i >= 0 && i < MAX_LARGE_HANDLES && large_handles[i])
-    {
-        new_ptr = HeapReAlloc( GetProcessHeap(), 0, large_handles[i], size );
-        if (new_ptr) large_handles[i] = new_ptr;
-    }
-    else ERR( "Invalid handle %p\n", handle );
-    if (!new_ptr)
-    {
-        TRACE("(%p): leave %d\n", handle, GDI_level.crst.RecursionCount);
-        _LeaveSysLevel( &GDI_level );
-    }
-    return new_ptr;
-}
-
-
-/***********************************************************************
  *           free_gdi_handle
  *
  * Free a GDI handle and return a pointer to the object.