summaryrefslogtreecommitdiff
path: root/sd/qa/unit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-28 09:11:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-28 09:12:27 +0200
commit09cb92096919e5a7bf4cf5fe66689e312ebc7f9c (patch)
tree91af4abe382007a45f6e18c88eba11fc0fe5795f /sd/qa/unit
parent89687d651eabcf64816c1b25defe38c7b68dd468 (diff)
convert std::unique_ptr<VclAbstractDialog> to VclPtr
Change-Id: Ifdd2a0599efd701def02b4a4d2a1c489cb1b27fa
Diffstat (limited to 'sd/qa/unit')
-rw-r--r--sd/qa/unit/dialogs-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx
index 679c999f001b..4acc570ca599 100644
--- a/sd/qa/unit/dialogs-test.cxx
+++ b/sd/qa/unit/dialogs-test.cxx
@@ -623,7 +623,7 @@ void SdDialogsTest::openAnyDialog()
// example for SfxTabDialog: 5 -> "modules/sdraw/ui/drawpagedialog.ui"
// example for TabDialog: 22 -> "modules/simpress/ui/headerfooterdialog.ui"
// example for self-adapted wizard: 0 -> "modules/simpress/ui/publishingdialog.ui"
- std::unique_ptr<VclAbstractDialog> pDlg(createDialogByID(5));
+ ScopedVclPtr<VclAbstractDialog> pDlg(createDialogByID(5));
if (pDlg)
{