diff options
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) { |