summaryrefslogtreecommitdiff
path: root/fpicker/qa
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/qa')
-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;
}