From 8cfa3f4b522d54845d2218610919e721bfb6f632 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 10 Nov 2016 22:00:18 +0100 Subject: 'make screenshot' use-after-free fixes Change-Id: I4302d0d767a1bf50fd34a78e9aa0ad6d6b0c7a22 --- vcl/qa/unit/vcl-dialogs-test.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/qa') diff --git a/vcl/qa/unit/vcl-dialogs-test.cxx b/vcl/qa/unit/vcl-dialogs-test.cxx index 2e15a2664f5f..9807a57682e4 100644 --- a/vcl/qa/unit/vcl-dialogs-test.cxx +++ b/vcl/qa/unit/vcl-dialogs-test.cxx @@ -26,7 +26,7 @@ private: /// dialog creation for known dialogs by ID. Has to be implemented for /// each registered known dialog - virtual VclAbstractDialog* createDialogByID(sal_uInt32 nID) override; + virtual VclPtr createDialogByID(sal_uInt32 nID) override; public: VclDialogsTest(); @@ -53,7 +53,7 @@ void VclDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/) // fill map of known dilogs } -VclAbstractDialog* VclDialogsTest::createDialogByID(sal_uInt32 /*nID*/) +VclPtr VclDialogsTest::createDialogByID(sal_uInt32 /*nID*/) { return nullptr; } -- cgit