From 6071bab93bae55cf037d1c31c63879cab66ad0d9 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 1 Jun 2015 09:27:07 +0100 Subject: tdf#91782 - fix VirtualDevice allocation crasher in eps filter. Change-Id: I59cc13cebf9a15e873cd0b7f8fccffa37a6a8f39 Reviewed-on: https://gerrit.libreoffice.org/17688 Tested-by: Jenkins Reviewed-by: Noel Grandin --- filter/source/graphicfilter/eps/eps.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index 177fa354c428..0921b9b3367f 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 pVDev; + ScopedVclPtrInstance pVDev; double nBoundingX1; // this represents the bounding box double nBoundingY1; -- cgit v1.2.3