diff --git a/ASCOfficeRtfFile/OOXPictureGraphicReader.h b/ASCOfficeRtfFile/OOXPictureGraphicReader.h index a79d71864c..715fd902e0 100644 --- a/ASCOfficeRtfFile/OOXPictureGraphicReader.h +++ b/ASCOfficeRtfFile/OOXPictureGraphicReader.h @@ -80,8 +80,8 @@ public: static bool WriteDataToPicture( CString sPath, RtfPicture& oOutput, CStr if( NULL == vImage.punkVal ) return false; //выставляем свойства из медиадаты - MediaCore::IAVSUncompressedVideoFrame* piFrame = NULL; - hRes = vImage.punkVal->QueryInterface( __uuidof(MediaCore::IAVSUncompressedVideoFrame), (void**)&piFrame ); + OfficeCore::IUncompressedFrame* piFrame = NULL; + hRes = vImage.punkVal->QueryInterface( __uuidof(OfficeCore::IUncompressedFrame), (void**)&piFrame ); RELEASEINTERFACE( vImage.punkVal ); if( FAILED( hRes ) || NULL == piFrame ) return false; diff --git a/ASCOfficeRtfFile/stdafx.h b/ASCOfficeRtfFile/stdafx.h index 89b18946dd..c98325b8cf 100644 --- a/ASCOfficeRtfFile/stdafx.h +++ b/ASCOfficeRtfFile/stdafx.h @@ -45,4 +45,4 @@ using namespace ATL; #import "..\Redist\ASCOfficeUtils.dll" named_guids rename_namespace("AVSOfficeUtils") #import "..\..\..\..\AVS\Redist\AVSImageStudio3.dll" named_guids rename_namespace("ImageStudio") -#import "..\..\..\..\AVS\Redist\AVSMediaCore3.dll" named_guids rename_namespace("MediaCore"), exclude("tagRECT") +#import "..\Redist\OfficeCore.dll" named_guids rename_namespace("OfficeCore"), exclude("tagRECT")