diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-06-01 09:27:07 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-20 14:13:42 +0200 |
commit | 75e7e4512df309e587e2a240f3e74154488fe7e1 (patch) | |
tree | 9a0931aa153706a08c2db8735ef2d159cdbdbc9d /filter | |
parent | 5ca1b778859be7626f99e45e0d89db49b17d208f (diff) |
tdf#91782 - fix VirtualDevice allocation crasher in eps filter.
Change-Id: I59cc13cebf9a15e873cd0b7f8fccffa37a6a8f39
Reviewed-on: https://gerrit.libreoffice.org/17688
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/eps/eps.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<VirtualDevice> pVDev; + ScopedVclPtrInstance<VirtualDevice> pVDev; double nBoundingX1; // this represents the bounding box double nBoundingY1; |