From df219f87587ab20487c6d820ed82d698530343b0 Mon Sep 17 00:00:00 2001 From: Andrew Bogott Date: Thu, 11 Nov 2010 03:42:29 -0600 Subject: [PATCH] ole32: Revert "ole32: Only read known format ids when attempting to read summary information.". This reverts commit c94b2687d223100300b61628a77fe942e4f42121. --- dlls/ole32/stg_prop.c | 7 ------- dlls/ole32/tests/stg_prop.c | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c index f887d10c0c..b3362bc21d 100644 --- a/dlls/ole32/stg_prop.c +++ b/dlls/ole32/stg_prop.c @@ -1314,13 +1314,6 @@ static HRESULT PropertyStorage_ReadFromStream(PropertyStorage_impl *This) hr = PropertyStorage_ReadFmtIdOffsetFromStream(This->stm, &fmtOffset); if (FAILED(hr)) goto end; - if (!IsEqualGUID(&fmtOffset.fmtid, &FMTID_DocSummaryInformation) && - !IsEqualGUID(&fmtOffset.fmtid, &FMTID_SummaryInformation)) - { - WARN("not reading unknown fmtid %s\n", debugstr_guid(&fmtOffset.fmtid)); - hr = S_FALSE; - goto end; - } if (fmtOffset.dwOffset > stat.cbSize.u.LowPart) { WARN("invalid offset %d (stream length is %d)\n", fmtOffset.dwOffset, diff --git a/dlls/ole32/tests/stg_prop.c b/dlls/ole32/tests/stg_prop.c index dff3361bdc..4e5fde7474 100644 --- a/dlls/ole32/tests/stg_prop.c +++ b/dlls/ole32/tests/stg_prop.c @@ -333,6 +333,7 @@ static void testProps(void) hr = IPropertySetStorage_Open(propSetStorage, &anyOldGuid, STGM_READWRITE | STGM_SHARE_EXCLUSIVE, &propertyStorage); + todo_wine ok(hr == S_OK, "IPropertySetStorage_Open failed: 0x%08x\n", hr); spec.ulKind = PRSPEC_PROPID; -- 2.32.0.93.g670b81a890