summaryrefslogtreecommitdiff
path: root/include/vcl
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-27 09:55:17 +0100
commit39a7992b4de5323e7cda1ced3154ebab61e81339 (patch)
tree90562b8d65a6fa28bf82277ca967f4e37710a8d9 /include/vcl
parenta2033ddb7243d756feae6b9b089b92c4f847e78a (diff)
fix memory leak
Change-Id: I6148159737edd4fe225d1140606064cdb77ef615
Diffstat (limited to 'include/vcl')
-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;