diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-28 09:11:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-28 09:12:27 +0200 |
commit | 09cb92096919e5a7bf4cf5fe66689e312ebc7f9c (patch) | |
tree | 91af4abe382007a45f6e18c88eba11fc0fe5795f /test | |
parent | 89687d651eabcf64816c1b25defe38c7b68dd468 (diff) |
convert std::unique_ptr<VclAbstractDialog> to VclPtr
Change-Id: Ifdd2a0599efd701def02b4a4d2a1c489cb1b27fa
Diffstat (limited to 'test')
-rw-r--r-- | test/source/screenshot_test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index 6c22d9fa56c9..650b9cd70912 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -198,7 +198,7 @@ void ScreenshotTest::processAllKnownDialogs() { for (mapType::const_iterator i = getKnownDialogs().begin(); i != getKnownDialogs().end(); ++i) { - std::unique_ptr<VclAbstractDialog> pDlg(createDialogByID((*i).second)); + ScopedVclPtr<VclAbstractDialog> pDlg(createDialogByID((*i).second)); if (pDlg) { @@ -227,7 +227,7 @@ void ScreenshotTest::processDialogBatchFile(const OUString& rFile) if (!aNextUIFile.isEmpty() && !aNextUIFile.startsWith(aComment)) { // first check if it's a known dialog - std::unique_ptr<VclAbstractDialog> pDlg(createDialogByName(aNextUIFile)); + ScopedVclPtr<VclAbstractDialog> pDlg(createDialogByName(aNextUIFile)); if (pDlg) { |