Skip to content

Commit 9247604

Browse files
committed
Img_C0: Remove unused MStream
1 parent 341261d commit 9247604

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

Col0/img_c0/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.vs
2+
/Release
3+
/obj

Col0/img_c0/img.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4949
#define ARRAYSIZE(x) (sizeof(x)/sizeof(x[0]))
5050
#endif
5151

52-
#include "../../common/MStream.h"
53-
// äëÿ óíèôèêàöèè col0host & PanelView
5452
#include "../../common/plugin.h"
5553

5654
#ifdef _DEBUG
@@ -371,7 +369,6 @@ struct GDIPlusImage
371369
wchar_t szTempFile[MAX_PATH+1];
372370
GDIPlusDecoder *gdi;
373371
Gdiplus::GpImage *img;
374-
MStream* strm;
375372
HRESULT nErrNumber, nLastError;
376373
//
377374
UINT lWidth, lHeight, pf, nBPP, nPages, /*lFrameTime,*/ nActivePage, nTransparent; //, nImgFlags;
@@ -382,7 +379,6 @@ struct GDIPlusImage
382379
GDIPlusImage(GDIPlusDecoder *gdi_)
383380
: gdi(gdi_)
384381
, img(NULL)
385-
, strm(NULL)
386382
{
387383
nMagic = eGdiStr_Image;
388384
szTempFile[0] = 0;
@@ -535,12 +531,6 @@ struct GDIPlusImage
535531
img = NULL;
536532
}
537533

538-
if (strm)
539-
{
540-
delete strm;
541-
strm = NULL;
542-
}
543-
544534
if (szTempFile[0])
545535
{
546536
DeleteFile(szTempFile);

0 commit comments

Comments
 (0)