summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-11-15 17:20:44 +0100
committerLuboš Luňák <l.lunak@collabora.com>2019-11-26 13:24:56 +0100
commit4e50cfc5419d9ab018265af08a6eeb8b1decd429 (patch)
tree347dada63d4728f9280397099abc35122d780f7c
parentmake Skia GPU offscreen surfaces work with unittests (diff)
downloadcore-4e50cfc5419d9ab018265af08a6eeb8b1decd429.tar.gz
core-4e50cfc5419d9ab018265af08a6eeb8b1decd429.zip
fix memory leak
Change-Id: I6148159737edd4fe225d1140606064cdb77ef615
-rw-r--r--include/vcl/pdfwriter.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index e109cf6a76eb..39efe91e51c7 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -74,7 +74,7 @@ class VCL_DLLPUBLIC PDFOutputStream
class VCL_DLLPUBLIC PDFWriter
{
- VclPtr<PDFWriterImpl> xImplementation;
+ ScopedVclPtr<PDFWriterImpl> xImplementation;
PDFWriter(const PDFWriter&) = delete;
PDFWriter& operator=(const PDFWriter&) = delete;