summaryrefslogtreecommitdiffstats
path: root/svtools/source/uno/wizard/wizardshell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/wizard/wizardshell.cxx')
-rw-r--r--svtools/source/uno/wizard/wizardshell.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/uno/wizard/wizardshell.cxx b/svtools/source/uno/wizard/wizardshell.cxx
index d9cbca5874dd..9a6870b2cdfe 100644
--- a/svtools/source/uno/wizard/wizardshell.cxx
+++ b/svtools/source/uno/wizard/wizardshell.cxx
@@ -201,9 +201,8 @@ namespace svt::uno
weld::Container* pPageContainer = m_xAssistant->append_page(sIdent);
auto xPage = std::make_unique<EmptyPage>(pPageContainer, this);
- auto pController = std::make_shared<WizardPageController>(xPage->GetContainer(), m_xController, nPageId);
-
- m_aPageControllers[xPage.get()] = pController;
+ m_aPageControllers[xPage.get()] =
+ std::make_shared<WizardPageController>(xPage->GetContainer(), m_xController, nPageId);
return xPage;
}