Kaydet (Commit) 6a94e8fb authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

wmf: put WMFReader constructor out of the header file

Change-Id: I8bf15c9990745759dd1414296257558adf5a42c0
üst 599328b0
......@@ -843,21 +843,7 @@ public:
WMFReader(SvStream& rStreamWMF, GDIMetaFile& rGDIMetaFile,
FilterConfigItem* pConfigItem = NULL,
WMF_EXTERNALHEADER* pExtHeader = NULL)
: WinMtf(new WinMtfOutput(rGDIMetaFile) , rStreamWMF, pConfigItem)
, nUnitsPerInch(96)
, nRecSize(0)
, pEMFStream(NULL)
, nEMFRecCount(0)
, nEMFRec(0)
, nEMFSize(0)
, nSkipActions(0)
, nCurrentAction(0)
, nUnicodeEscapeAction(0)
, pExternalHeader(pExtHeader)
{
}
WMF_EXTERNALHEADER* pExtHeader = NULL);
~WMFReader();
// read WMF file from stream and fill the GDIMetaFile
......
......@@ -1600,9 +1600,23 @@ bool WMFReader::GetPlaceableBound( Rectangle& rPlaceableBound, SvStream* pStm )
return bRet;
}
WMFReader::WMFReader(SvStream& rStreamWMF, GDIMetaFile& rGDIMetaFile,
FilterConfigItem* pConfigItem, WMF_EXTERNALHEADER* pExtHeader)
: WinMtf(new WinMtfOutput(rGDIMetaFile) , rStreamWMF, pConfigItem)
, nUnitsPerInch(96)
, nRecSize(0)
, pEMFStream(NULL)
, nEMFRecCount(0)
, nEMFRec(0)
, nEMFSize(0)
, nSkipActions(0)
, nCurrentAction(0)
, nUnicodeEscapeAction(0)
, pExternalHeader(pExtHeader)
{}
WMFReader::~WMFReader()
{
if( pEMFStream )
delete pEMFStream;
}
......
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