diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/wizard/wizardshell.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/wizard/wizardshell.hxx | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/svtools/source/uno/wizard/wizardshell.cxx b/svtools/source/uno/wizard/wizardshell.cxx index 539dd7cea2d5..4b8b6e9052a9 100644 --- a/svtools/source/uno/wizard/wizardshell.cxx +++ b/svtools/source/uno/wizard/wizardshell.cxx @@ -25,6 +25,8 @@ #include <com/sun/star/ui/dialogs/WizardTravelType.hpp> +using vcl::RoadmapWizardTypes::WizardPath; + namespace svt { namespace uno { diff --git a/svtools/source/uno/wizard/wizardshell.hxx b/svtools/source/uno/wizard/wizardshell.hxx index 320d31e6330a..6217f5822770 100644 --- a/svtools/source/uno/wizard/wizardshell.hxx +++ b/svtools/source/uno/wizard/wizardshell.hxx @@ -26,6 +26,8 @@ #include <map> #include <memory> +using vcl::WizardTypes::WizardState; +using vcl::WizardTypes::CommitPageReason; namespace svt { namespace uno { @@ -76,7 +78,7 @@ namespace svt { namespace uno void activatePath( const sal_Int16 i_nPathID, const bool i_bFinal ) { - WizardShell_Base::activatePath( PathId( i_nPathID ), i_bFinal ); + WizardShell_Base::activatePath( vcl::RoadmapWizardTypes::PathId( i_nPathID ), i_bFinal ); } css::uno::Reference< css::ui::dialogs::XWizardPage > @@ -95,14 +97,14 @@ namespace svt { namespace uno } private: - sal_Int16 impl_stateToPageId( const WizardTypes::WizardState i_nState ) const + sal_Int16 impl_stateToPageId( const WizardState i_nState ) const { return static_cast< sal_Int16 >( i_nState + m_nFirstPageID ); } WizardState impl_pageIdToState( const sal_Int16 i_nPageId ) const { - return static_cast< WizardState >( i_nPageId - m_nFirstPageID ); + return static_cast<WizardState>(i_nPageId - m_nFirstPageID); } PWizardPageController impl_getController( TabPage* i_pPage ) const; |