summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-06-01 09:27:07 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-06-01 09:31:50 +0100
commitc709da10fb2585a1f8b7d1a96b33d3fe5486d7f5 (patch)
tree56ec3195f4d71df7625e6723568518916ff32c34
parentd33c6cd7853131d5765a07fbba101f2b64b7bae5 (diff)
tdf#91782 - fix VirtualDevice allocation crasher in eps filter.
Change-Id: I59cc13cebf9a15e873cd0b7f8fccffa37a6a8f39
-rw-r--r--filter/source/graphicfilter/eps/eps.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index 926d01217244..5c772590f5c8 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -116,7 +116,7 @@ private:
SvStream* mpPS;
const GDIMetaFile* pMTF;
GDIMetaFile* pAMTF; // only created if Graphics is not a Metafile
- ScopedVclPtr<VirtualDevice> pVDev;
+ ScopedVclPtrInstance<VirtualDevice> pVDev;
double nBoundingX1; // this represents the bounding box
double nBoundingY1;