diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-11-10 23:22:15 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-11-10 23:27:24 +0200 |
commit | df2e37eb03452ca6752515483c5d6e20e5d32c7f (patch) | |
tree | a7f6e87a52f1a3044342f647f329c4e58cc5d72f /formula | |
parent | Typos (diff) | |
download | core-df2e37eb03452ca6752515483c5d6e20e5d32c7f.tar.gz core-df2e37eb03452ca6752515483c5d6e20e5d32c7f.zip |
use-after-free fix here, too
Change-Id: I228b6367abadfc25c85fdb6821faebc7e4e8dda8
Diffstat (limited to 'formula')
-rw-r--r-- | formula/qa/unit/formula-dialogs-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formula/qa/unit/formula-dialogs-test.cxx b/formula/qa/unit/formula-dialogs-test.cxx index 97f3c90a49eb..0e57336f672c 100644 --- a/formula/qa/unit/formula-dialogs-test.cxx +++ b/formula/qa/unit/formula-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: FormulaDialogsTest(); @@ -60,7 +60,7 @@ void FormulaDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/) // fill map of known dilogs } -VclAbstractDialog* FormulaDialogsTest::createDialogByID(sal_uInt32 /*nID*/) +VclPtr<VclAbstractDialog> FormulaDialogsTest::createDialogByID(sal_uInt32 /*nID*/) { return nullptr; } |