diff options
Diffstat (limited to 'basctl/qa/unit')
-rw-r--r-- | basctl/qa/unit/basctl-dialogs-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/qa/unit/basctl-dialogs-test.cxx b/basctl/qa/unit/basctl-dialogs-test.cxx index 3dc70db31b3e..5efec865534b 100644 --- a/basctl/qa/unit/basctl-dialogs-test.cxx +++ b/basctl/qa/unit/basctl-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: BasctlDialogsTest(); @@ -53,7 +53,7 @@ void BasctlDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/) // fill map of known dilogs } -VclAbstractDialog* BasctlDialogsTest::createDialogByID(sal_uInt32 /*nID*/) +VclPtr<VclAbstractDialog> BasctlDialogsTest::createDialogByID(sal_uInt32 /*nID*/) { return nullptr; } |