Commit dc784359 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

oleaut32: OLEPictureImpl_Save should load bitmap data if it's not yet loaded.

parent 25fd436d
......@@ -1776,7 +1776,7 @@ static HRESULT WINAPI OLEPictureImpl_Save(
hResult = S_OK;
break;
case PICTYPE_BITMAP:
if (This->bIsDirty) {
if (This->bIsDirty || !This->data) {
switch (This->keepOrigFormat ? This->loadtime_format : BITMAP_FORMAT_BMP) {
case BITMAP_FORMAT_BMP:
iSerializeResult = serializeBMP(This->desc.u.bmp.hbitmap, &pIconData, &iDataSize);
......
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