summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-11-10 23:22:15 +0200
committerTor Lillqvist <tml@collabora.com>2016-11-10 23:27:24 +0200
commitdf2e37eb03452ca6752515483c5d6e20e5d32c7f (patch)
treea7f6e87a52f1a3044342f647f329c4e58cc5d72f /fpicker
parentTypos (diff)
downloadcore-df2e37eb03452ca6752515483c5d6e20e5d32c7f.tar.gz
core-df2e37eb03452ca6752515483c5d6e20e5d32c7f.zip
use-after-free fix here, too
Change-Id: I228b6367abadfc25c85fdb6821faebc7e4e8dda8
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/qa/unit/fpicker-dialogs-test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/qa/unit/fpicker-dialogs-test.cxx b/fpicker/qa/unit/fpicker-dialogs-test.cxx
index 622138d496c3..5bfcb2b432a5 100644
--- a/fpicker/qa/unit/fpicker-dialogs-test.cxx
+++ b/fpicker/qa/unit/fpicker-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:
FpickerDialogsTest();
@@ -60,7 +60,7 @@ void FpickerDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
}
-VclAbstractDialog* FpickerDialogsTest::createDialogByID(sal_uInt32 /*nID*/)
+VclPtr<VclAbstractDialog> FpickerDialogsTest::createDialogByID(sal_uInt32 /*nID*/)
{
return nullptr;
}