diff options
-rw-r--r-- | vcl/source/filter/wmf/winmtf.hxx | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/vcl/source/filter/wmf/winmtf.hxx b/vcl/source/filter/wmf/winmtf.hxx index 52b18483c32d..dfda4599ac5e 100644 --- a/vcl/source/filter/wmf/winmtf.hxx +++ b/vcl/source/filter/wmf/winmtf.hxx @@ -775,7 +775,7 @@ protected: class EnhWMFReader : public WinMtf { bool bRecordPath; - sal_Int32 nRecordCount; + sal_Int32 nRecordCount; bool bEMFPlus; bool ReadHeader(); @@ -783,18 +783,17 @@ class EnhWMFReader : public WinMtf Rectangle ReadRectangle( sal_Int32, sal_Int32, sal_Int32, sal_Int32 ); public: - EnhWMFReader( - SvStream& rStreamWMF, - GDIMetaFile& rGDIMetaFile, - FilterConfigItem* pConfigItem = NULL - ) - : WinMtf( new WinMtfOutput( rGDIMetaFile ) - , rStreamWMF - , pConfigItem ) - , bRecordPath( false ) - , bEMFPlus( false ) - {}; - ~EnhWMFReader(); + EnhWMFReader( + SvStream& rStreamWMF, + GDIMetaFile& rGDIMetaFile, + FilterConfigItem* pConfigItem = NULL) + : WinMtf(new WinMtfOutput(rGDIMetaFile), rStreamWMF , pConfigItem) + , bRecordPath(false) + , nRecordCount(0) + , bEMFPlus(false) + { + } + ~EnhWMFReader(); bool ReadEnhWMF(); void ReadEMFPlusComment(sal_uInt32 length, bool& bHaveDC); |