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