diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-06-01 09:27:07 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-13 06:56:38 +0000 |
commit | 6071bab93bae55cf037d1c31c63879cab66ad0d9 (patch) | |
tree | 9f51289b4143488a3d658378f997b8fba158d900 /filter | |
parent | aff9057c35827ec7a6219b1c752f7525db64cdca (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; |