summaryrefslogtreecommitdiff
path: root/dbaccess/qa/unit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-10 22:00:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-10 22:00:41 +0100
commit8cfa3f4b522d54845d2218610919e721bfb6f632 (patch)
treea80dcd78f48e3700d1904f31d2e54dbe48f2350a /dbaccess/qa/unit
parentd543b4df8084da777ea9624619d684a14cb91cb9 (diff)
'make screenshot' use-after-free fixes
Change-Id: I4302d0d767a1bf50fd34a78e9aa0ad6d6b0c7a22
Diffstat (limited to 'dbaccess/qa/unit')
-rw-r--r--dbaccess/qa/unit/dbaccess-dialogs-test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/qa/unit/dbaccess-dialogs-test.cxx b/dbaccess/qa/unit/dbaccess-dialogs-test.cxx
index f369cc326963..9ac1dbd8ea6c 100644
--- a/dbaccess/qa/unit/dbaccess-dialogs-test.cxx
+++ b/dbaccess/qa/unit/dbaccess-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<VclAbstractDialog> createDialogByID(sal_uInt32 nID) override;
public:
DbaccessDialogsTest();
@@ -53,7 +53,7 @@ void DbaccessDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
}
-VclAbstractDialog* DbaccessDialogsTest::createDialogByID(sal_uInt32 /*nID*/)
+VclPtr<VclAbstractDialog> DbaccessDialogsTest::createDialogByID(sal_uInt32 /*nID*/)
{
return nullptr;
}