[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - emfio/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Aug 21 19:19:13 UTC 2018
emfio/source/reader/mtftools.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1e918814aa4aa6d88c5426e9b28b1aea385d9a57
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 21 15:54:02 2018 +0100
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Aug 21 21:18:50 2018 +0200
Resolves: rhbz#115937 virtual device leak
windows runs out much sooner than the other platforms
Change-Id: I8ffbe32babf8854580150edfe741b03fd43e4326
Reviewed-on: https://gerrit.libreoffice.org/59408
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index fa62c205524e..3b922636b550 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -1616,7 +1616,7 @@ namespace emfio
BitmapEx aBmpEx( rBitmap );
if ( mbComplexClip )
{
- VclPtrInstance< VirtualDevice > pVDev;
+ ScopedVclPtrInstance< VirtualDevice > pVDev;
MapMode aMapMode( MapUnit::Map100thMM );
aMapMode.SetOrigin( Point( -rPos.X(), -rPos.Y() ) );
const Size aOutputSizePixel( pVDev->LogicToPixel( rSize, aMapMode ) );
More information about the Libreoffice-commits
mailing list