summaryrefslogtreecommitdiff
path: root/drawinglayer/source/tools/wmfemfhelper.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2017-06-21 14:46:35 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-07-15 11:01:30 +0200
commit63bc9be68e6d7a0e681516b5a04953388644101a (patch)
treefc395c2cccd9106f6dd1c1aa5171a10225aacabd /drawinglayer/source/tools/wmfemfhelper.cxx
parent044dc9fcca4df6ca21df790bdb14660f951e4598 (diff)
emfplus: some cleanup/streamlining
Change-Id: Ia931ca356fb079b9cb2395ba2311b91d2481e2d4
Diffstat (limited to 'drawinglayer/source/tools/wmfemfhelper.cxx')
-rw-r--r--drawinglayer/source/tools/wmfemfhelper.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/drawinglayer/source/tools/wmfemfhelper.cxx b/drawinglayer/source/tools/wmfemfhelper.cxx
index f2231a1879fe..b272f4a51eb3 100644
--- a/drawinglayer/source/tools/wmfemfhelper.cxx
+++ b/drawinglayer/source/tools/wmfemfhelper.cxx
@@ -3028,7 +3028,11 @@ namespace wmfemfhelper
SAL_INFO("cppcanvas.emf", "EMF+ passed to canvas mtf renderer - header info, size: " << pA->GetDataSize());
SvMemoryStream aMemoryStream(const_cast<sal_uInt8 *>(pA->GetData()), pA->GetDataSize(), StreamMode::READ);
- aEMFPlus.reset(new emfplushelper::EmfPlusHelper(aMemoryStream));
+ aEMFPlus.reset(
+ new emfplushelper::EmfPlusHelper(
+ aMemoryStream,
+ rTargetHolders,
+ rPropertyHolders));
}
}
else if (pA->GetComment().equalsIgnoreAsciiCase("EMF_PLUS"))
@@ -3061,8 +3065,6 @@ namespace wmfemfhelper
aEMFPlus->processEmfPlusData(
aMemoryStream,
- rTargetHolders,
- rPropertyHolders,
rViewInformation);
}