summaryrefslogtreecommitdiff
path: root/emfio/source/reader/mtftools.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2017-06-16 12:09:22 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-07-15 11:01:30 +0200
commitcfe47d035822ab4a46e1d34e26e383a45b9adddd (patch)
tree0d4f2974d8346eeb5345fca0d1f5f865b10eb627 /emfio/source/reader/mtftools.cxx
parenta3f09ab5b0ad192d62a1df6126726e4c3ffa3e0a (diff)
emfplus: more streamlining of metafile importer
Change-Id: Ice0f779f8026983fd0884c2a02e9fd7220b498dc
Diffstat (limited to 'emfio/source/reader/mtftools.cxx')
-rw-r--r--emfio/source/reader/mtftools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index 37dfc76d0fd3..96d4d5232e7e 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -311,7 +311,7 @@ namespace emfio
{
sal_uInt32 nColor;
- mpWMF->ReadUInt32( nColor );
+ mpInputStream->ReadUInt32( nColor );
return Color( (sal_uInt8)nColor, (sal_uInt8)( nColor >> 8 ), (sal_uInt8)( nColor >> 16 ) );
};
@@ -862,7 +862,7 @@ namespace emfio
mrclFrame(),
mrclBounds(),
mpGDIMetaFile(&rGDIMetaFile),
- mpWMF(&rStreamWMF),
+ mpInputStream(&rStreamWMF),
mnStartPos(0),
mnEndPos(0),
maBmpSaveList(),
@@ -873,14 +873,14 @@ namespace emfio
mbIsMapWinSet(false),
mbIsMapDevSet(false)
{
- SvLockBytes *pLB = mpWMF->GetLockBytes();
+ SvLockBytes *pLB = mpInputStream->GetLockBytes();
if (pLB)
{
pLB->SetSynchronMode();
}
- mnStartPos = mpWMF->Tell();
+ mnStartPos = mpInputStream->Tell();
SetDevOrg(Point());
mpGDIMetaFile->AddAction( new MetaPushAction( PushFlags::CLIPREGION ) ); // The original clipregion has to be on top