Commit c1f5f98f authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

oleaut32: Return success from GetSizeMax if not dirty.

parent 148db6a6
...@@ -1882,7 +1882,8 @@ static HRESULT WINAPI OLEPictureImpl_GetSizeMax(IPersistStream *iface, ULARGE_IN ...@@ -1882,7 +1882,8 @@ static HRESULT WINAPI OLEPictureImpl_GetSizeMax(IPersistStream *iface, ULARGE_IN
FIXME("(%p), PICTYPE_BITMAP (format UNKNOWN, using BMP?) not implemented!\n",This); FIXME("(%p), PICTYPE_BITMAP (format UNKNOWN, using BMP?) not implemented!\n",This);
break; break;
} }
} } else hr = S_OK;
break; break;
case PICTYPE_METAFILE: case PICTYPE_METAFILE:
FIXME("(%p), PICTYPE_METAFILE not implemented!\n",This); FIXME("(%p), PICTYPE_METAFILE not implemented!\n",This);
......
...@@ -1262,7 +1262,6 @@ static void test_load_save_bmp(void) ...@@ -1262,7 +1262,6 @@ static void test_load_save_bmp(void)
maxsize.QuadPart = 0; maxsize.QuadPart = 0;
hr = IPersistStream_GetSizeMax(src_stream, &maxsize); hr = IPersistStream_GetSizeMax(src_stream, &maxsize);
todo_wine
ok(hr == S_OK, "GetSizeMax error %#lx\n", hr); ok(hr == S_OK, "GetSizeMax error %#lx\n", hr);
ok(maxsize.QuadPart == 74, "expected 74, got %s\n", wine_dbgstr_longlong(maxsize.QuadPart)); ok(maxsize.QuadPart == 74, "expected 74, got %s\n", wine_dbgstr_longlong(maxsize.QuadPart));
......
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